about summary refs log tree commit diff
path: root/src/test/ui/traits/trait-alias/trait-alias-object-fail.stderr
AgeCommit message (Collapse)AuthorLines
2021-02-09Organize trait test filesBram van den Heuvel-22/+0
2020-10-20review commentsEsteban Küber-2/+2
2020-10-20Tweak "object unsafe" errorsEsteban Küber-3/+4
Fix #77598.
2020-09-02pretty: trim paths of unique symbolsDan Aloni-3/+3
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.
2020-07-27mv std libs to library/mark-1/+1
2020-04-02tests: remove ignore directives from tests that mention core/alloc/std spans.Eduard-Mihai Burtescu-2/+2
2020-02-02Deal with spans showing `std` libEsteban Küber-2/+2
Address #53081
2020-02-02Point at reason in object unsafe trait with `Self` in supertraits or ↵Esteban Küber-1/+4
`where`-clause
2020-02-02Wording changes to object unsafe trait errorsEsteban Küber-1/+1
Stemming from the thread at https://twitter.com/indygreg/status/1223279056398929920
2019-12-24Tweak errors for missing associated types and type parametersEsteban Küber-3/+3
2019-05-20Update tests.Alexander Regueiro-0/+18