about summary refs log tree commit diff
path: root/src/test/ui/statics
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-713/+0
2022-10-20Update tests to match error message changesb4den-1/+1
2022-10-13Move some tests to more reasonable directoriesCaio-0/+76
2022-10-01bless ui testsMaybe Waffle-4/+4
2022-09-26make invalid_value lint a bit smarter around enumsRalf Jung-2/+10
2022-07-15Move item_span from check_item_type into each functionMichael Goulet-2/+2
2022-07-01Shorten def_span for more items.Camille GILLOT-2/+2
2022-06-19Make some lints incremental.Camille GILLOT-6/+6
2022-04-26Move some tests to more reasonable placesCaio-0/+17
2022-03-24Check if call return type is visibly uninhabited when building MIRTomasz Miąsko-14/+8
2021-11-20Move the issue-91050 tests to appease tidyJosh Stone-0/+58
2021-11-09Auto merge of #87337 - jyn514:lint-error, r=oli-obk,flip1995bors-2/+48
Don't abort compilation after giving a lint error The only reason to use `abort_if_errors` is when the program is so broken that either: 1. later passes get confused and ICE 2. any diagnostics from later passes would be noise This is never the case for lints, because the compiler has to be able to deal with `allow`-ed lints. So it can continue to lint and compile even if there are lint errors. Closes https://github.com/rust-lang/rust/issues/82761. This is a WIP because I have a feeling it will exit with 0 even if there were lint errors; I don't have a computer that can build rustc locally at the moment.
2021-11-08Don't abort compilation after giving a lint errorJoshua Nelson-2/+48
The only reason to use `abort_if_errors` is when the program is so broken that either: 1. later passes get confused and ICE 2. any diagnostics from later passes would be noise This is never the case for lints, because the compiler has to be able to deal with `allow`-ed lints. So it can continue to lint and compile even if there are lint errors.
2021-11-06Move some tests to more reasonable directoriesCaio-0/+32
2021-03-06Move some tests to more suitable subdirsYuki Okushi-0/+40
2020-10-25also test non-extern uninhabited staticsRalf Jung-1/+26
2020-10-24ensure that statics are inhabitedRalf Jung-0/+39
2020-09-19cleanup promotion const_kind checksRalf Jung-1/+1
in particular allow a few more promotions for consistency when they were already allowed in other contexts
2020-07-31Add the proper testsDing Xiang Fei-1/+12
2020-07-31Add comments to explain the test case and the special treatmentDing Xiang Fei-1/+9
2020-07-30Special treatment for dereferencing a borrow to a static definitionDing Xiang Fei-0/+15
2019-08-15Group all ui tests and move to abi #62593Kevin Per-41/+0
2019-07-27tests: Move run-pass tests without naming conflicts to uiVadim Petrochenkov-0/+385