about summary refs log tree commit diff
path: root/src/test/ui/auto-ref-slice-plus-ref.stderr
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-55/+0
2022-07-08distinguish the method and associated function diagnostic informationYiming Lei-1/+1
Methods are defined within the context of a struct and their first parameter is always self Associated functions don’t take self as a parameter modified: compiler/rustc_typeck/src/check/method/suggest.rs modified: src/test/ui/auto-ref-slice-plus-ref.stderr modified: src/test/ui/block-result/issue-3563.stderr modified: src/test/ui/issues/issue-28344.stderr modified: src/test/ui/suggestions/dont-suggest-pin-array-dot-set.stderr modified: src/test/ui/suggestions/suggest-methods.stderr modified: src/test/ui/traits/trait-upcasting/subtrait-method.stderr
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-03-12update testsMark Mansi-1/+1
2020-02-28keep predicate order and tweak outputEsteban Küber-12/+20
2020-02-28Tweak wordingEsteban Küber-4/+4
2020-02-28Mention the full path of the implementing traitEsteban Küber-4/+4
2020-02-28On single local candidate, use span labelEsteban Küber-8/+12
2020-01-08Unify output of "variant not found" errorsEsteban Küber-4/+4
2019-09-08Give method not found a primary span labelEsteban Küber-3/+3
2019-04-09improve unknown enum variant errorsAndy Russell-1/+1
2019-03-11Update testsVadim Petrochenkov-4/+4
2019-01-20Use structured suggestion in stead of notesEsteban Küber-2/+1
2018-12-25Remove licensesMark Rousskov-4/+4
2018-08-14Merged migrated compile-fail tests and ui tests. Fixes #46841.David Wood-0/+44