about summary refs log tree commit diff
path: root/src/test/ui/issues/issue-59488.rs
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-34/+0
2022-08-21Rework point-at-argMichael Goulet-0/+1
2021-02-14Fix UI tests and merge `assert_eq` and `assert_ne` internal functionsBenoît du Garreau-1/+0
2020-09-02pretty: trim paths of unique symbolsDan Aloni-2/+2
If a symbol name can only be imported from one place for a type, and as long as it was not glob-imported anywhere in the current crate, we can trim its printed path and print only the name. This has wide implications on error messages with types, for example, shortening `std::vec::Vec` to just `Vec`, as long as there is no other `Vec` importable anywhere. This adds a new '-Z trim-diagnostic-paths=false' option to control this feature. On the good path, with no diagnosis printed, we should try to avoid issuing this query, so we need to prevent trimmed_def_paths query on several cases. This change also relies on a previous commit that differentiates between `Debug` and `Display` on various rustc types, where the latter is trimmed and presented to the user and the former is not.
2019-04-23Remove unnecessary ignore-tidy-linelengthvarkor-2/+0
2019-04-22Remove double trailing newlinesvarkor-1/+0
2019-04-19avoid type-check body of DefIdrchaser53-0/+11
2019-04-17Do not mention missing `PartialOrd` impl when involving uncalled fnsEsteban Küber-7/+7
2019-04-12add the logic for when other_ty is FnDefrchaser53-0/+7
2019-04-12improve error messagesrchaser53-2/+12
2019-04-07Improvement for comparision against fnrchaser53-0/+9