about summary refs log tree commit diff
path: root/src/test/ui/discrim
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-518/+0
2021-08-12Use smaller spans for some structured suggestionsEsteban Kuber-8/+8
Use more accurate suggestion spans for * argument parse error * fully qualified path * missing code block type * numeric casts * E0212
2021-08-11Modify structured suggestion outputEsteban Küber-8/+8
* On suggestions that include deletions, use a diff inspired output format * When suggesting addition, use `+` as underline * Color highlight modified span
2020-11-29Update tests to remove old numeric constantsbstrie-30/+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.
2019-11-18Surround types with backticks in type errorsEsteban Küber-16/+16
2019-10-24Increase spacing for suggestions in diagnosticsEsteban Küber-0/+8
Make the spacing between the code snippet and verbose structured suggestions consistent with note and help messages.
2019-04-29Suggest try_into when possibleEsteban Küber-0/+32
2019-04-23Update ui testsvarkor-16/+16
2019-04-23Remove unnecessary ignore-tidy-linelengthvarkor-4/+0
2019-03-11Update testsVadim Petrochenkov-16/+16
2018-12-25Remove licensesMark Rousskov-54/+24
2018-08-14Merged migrated compile-fail tests and ui tests. Fixes #46841.David Wood-0/+518