about summary refs log tree commit diff
path: root/src/test/ui/cast
AgeCommit message (Expand)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-1172/+0
2022-11-20Auto merge of #103390 - compiler-errors:metadata-mod-regions, r=eholkbors-0/+17
2022-10-22Check fat pointer metadata compatibility modulo regionsMichael Goulet-0/+17
2022-10-22Bless testsDeadbeef-1/+1
2022-10-22Stabilize arbitrary_enum_discriminant, take 2Deadbeef-2/+0
2022-10-07make const_err a hard errorRalf Jung-5/+1
2022-07-01Only label place where type is needed if span is meaningfulMichael Goulet-2/+0
2022-06-21Move some tests to more reasonable directoriesCaio-0/+13
2022-06-16diagnostics: fix trailing spaceklensy-1/+1
2022-06-05restore a testRalf Jung-1/+2
2022-05-13Extend ptr::null and null_mut to all thin (including extern) typesSimon Sapin-1/+1
2022-04-16Implementation for 65853Jack Huey-5/+41
2022-04-10use find_ancestor_inside to get right span in CastCheckMichael Goulet-0/+23
2022-03-09better suggestion for int to wide ptr castMichael Goulet-9/+38
2022-02-11Revert "Auto merge of #92007 - oli-obk:lazy_tait2, r=nikomatsakis"Oli Scherer-13/+5
2022-02-02Lazily resolve type-alias-impl-trait defining usesOli Scherer-5/+13
2021-12-08Rollup merge of #91245 - cameron1024:suggest-i32-u32-char-cast, r=nagisaMatthias Krüger-0/+62
2021-12-01Disallow non-c-like but "fieldless" ADTs from being casted to integer...Gary Guo-0/+22
2021-11-28suggest cast char -> intcameron-0/+62
2021-11-20Fixup test outputsMichael Goulet-1/+1
2021-11-14Move some tests to more reasonable directoriesCaio-0/+6
2021-11-06Move some tests to more reasonable directoriesCaio-0/+206
2021-10-04Fix suggestion to borrow when casting from pointer to referenceFabian Wolff-0/+35
2021-08-11Modify structured suggestion outputEsteban Küber-2/+2
2021-07-30Auto merge of #85971 - FabianWolff:issue-85586, r=davidtwcobors-0/+21
2021-07-10remove const_raw_ptr_to_usize_cast featureRalf Jung-100/+0
2021-07-03Remove the deprecated `core::raw` and `std::raw` module.Charles Lew-13/+4
2021-06-10Use more precise span for E0282 in cast expressionsFabian Wolff-0/+21
2021-05-28Auto merge of #84968 - FabianWolff:master, r=estebankbors-2/+2
2021-05-24Remove stray .stderr filesLeSeulArtichaut-58/+0
2021-05-21Check for ptr-to-int casts in const functions in THIR unsafeckLeSeulArtichaut-13/+88
2021-05-15Warn about unused pub fields in non-pub structsFabian Wolff-2/+4
2021-05-06Fix incorrect suggestions for E0605Fabian Wolff-2/+2
2021-04-25make sure raw ptr casts in 'const' context are unsafeRalf Jung-25/+76
2021-04-18Auto merge of #84207 - SimonSapin:deprecate-core-raw, r=dtolnaybors-1/+3
2021-04-15Add regression testGiacomo Stevanato-0/+55
2021-04-15Allow use of deprecated std::raw in a test for that featureSimon Sapin-1/+3
2021-01-28move a bunch of testsBastian Kauschke-0/+164
2020-12-31Move cast-related testsYuki Okushi-0/+361
2020-09-02pretty: trim paths of unique symbolsDan Aloni-2/+2
2020-06-15Tweak "non-primitive cast" errorEsteban Küber-13/+5
2020-02-09--bless --compare-mode=nllMatthias Prechtl-2/+2
2019-12-18Start generating AddressOf rvalues in MIRMatthew Jasper-4/+5
2019-07-09normalize use of backticks in compiler messages for libsyntax/feature_gateSamy Kacimi-2/+2
2019-05-29Update ui test suite to use dynmemoryruins-8/+8
2019-04-11Reword tracking issue noteEsteban Küber-2/+2
2019-04-10Tweak unstable diagnostic outputEsteban Küber-2/+4
2019-03-11Update testsVadim Petrochenkov-8/+8
2019-01-21Declare some unconst operations as unsafe in const fnOliver Scherer-8/+12
2019-01-09provide suggestion for invalid boolean castAndy Russell-9/+22