about summary refs log tree commit diff
path: root/src/test/ui/associated-consts
AgeCommit message (Collapse)AuthorLines
2021-02-14Fix UI tests and merge `assert_eq` and `assert_ne` internal functionsBenoît du Garreau-1/+1
2021-02-03make const_err a future incompat lintRalf Jung-2/+8
2021-01-24clean up some const error reporting around promotedsRalf Jung-8/+4
2021-01-04Fix wording of query descriptionoli-3/+3
2021-01-04Keep an unoptimized duplicate of `const fn` aroundoli-3/+3
This allows CTFE to reliably detect UB, as otherwise optimizations may hide UB.
2020-12-26update testsBastian Kauschke-14/+7
2020-11-29Update tests to remove old numeric constantsbstrie-26/+24
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.
2020-10-20review commentsEsteban Küber-1/+1
2020-10-20Tweak "object unsafe" errorsEsteban Küber-5/+7
Fix #77598.
2020-10-15Migrate from `associated-const` to `associated-consts`Yuki Okushi-0/+863
2020-09-19Address review commentsOliver Scherer-21/+21
2020-05-31Add descriptions for all queriesMatthew Jasper-3/+3
2020-04-29Add #24949 assoc constant static recursion testDaniel Worrall-0/+179
2019-07-27tests: Move run-pass tests without naming conflicts to uiVadim Petrochenkov-0/+460