about summary refs log tree commit diff
path: root/src/test/ui/consts/const-eval/const-eval-overflow2c.rs
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-69/+0
2022-10-07make const_err a hard errorRalf Jung-18/+8
2021-02-03make const_err a future incompat lintRalf Jung-0/+8
2020-11-29Update tests to remove old numeric constantsbstrie-2/+0
Part of #68490. Care has been taken to leave the old consts where appropriate, for testing backcompat regressions, module shadowing, etc. The intrinsics docs were accidentally referring to some methods on f64 as std::f64, which I changed due to being contrary with how we normally disambiguate the shadow module from the primitive. In one other place I changed std::u8 to std::ops since it was just testing path handling in macros. For places which have legitimate uses of the old consts, deprecated attributes have been optimistically inserted. Although currently unnecessary, they exist to emphasize to any future deprecation effort the necessity of these specific symbols and prevent them from being accidentally removed.
2019-03-23Swap const evaluation lint spans to point at problem in primary spanEsteban Küber-8/+16
2018-12-25Remove licensesMark Rousskov-10/+0
2018-12-07Various minor/cosmetic improvements to codeAlexander Regueiro-1/+1
2018-10-25add the lint back to the list, and fix testsRalf Jung-8/+8
2018-10-25Deduplicate all the ~~things~~ errorsOliver Schneider-1/+0
2018-10-25Report const eval error inside the queryOliver Schneider-24/+17
2018-08-14Merged migrated compile-fail tests and ui tests. Fixes #46841.David Wood-0/+83