about summary refs log tree commit diff
path: root/src/test/ui/associated-consts
AgeCommit message (Collapse)AuthorLines
2021-09-15Move object safety suggestions to the end of the errorEsteban Kuber-1/+1
2021-08-30`feature(const_generics)` -> `feature(const_param_types)`lcnr-1/+1
2021-08-30rename const_evaluatable_checked to generic_const_exprsEllen-1/+1
:sparkles:
2021-08-11Modify structured suggestion outputEsteban Küber-2/+2
* On suggestions that include deletions, use a diff inspired output format * When suggesting addition, use `+` as underline * Color highlight modified span
2021-08-09Use smaller spans when suggesting method call disambiguationEsteban Kuber-2/+2
2021-07-19Various diagnostics clean ups/tweaksEsteban Küber-9/+19
* Always point at macros, including derive macros * Point at non-local items that introduce a trait requirement * On private associated item, point at definition
2021-05-12Show macro name in 'this error originates in macro' messageAaron Hill-1/+1
When there are multiple macros in use, it can be difficult to tell which one was responsible for producing an error.
2021-04-29remove const_fn feature gate from const testsRalf Jung-1/+1
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