about summary refs log tree commit diff
path: root/src/test/ui/issues/issue-28344.stderr
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-61/+0
2022-10-01bless ui testsMaybe Waffle-1/+1
2022-07-08distinguish the method and associated function diagnostic informationYiming Lei-2/+2
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
2021-12-04Use multipart suggestions.Camille GILLOT-2/+10
2021-12-04Lint bare traits in AstConv.Camille GILLOT-3/+22
2020-09-02pretty: trim paths of unique symbolsDan Aloni-6/+6
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-2/+2
2020-01-08Unify output of "variant not found" errorsEsteban Küber-2/+2
2019-12-24Tweak errors for missing associated types and type parametersEsteban Küber-4/+4
2019-04-18hide `--explain` hint if error has no extended infoAndy Russell-1/+1
2019-04-09improve unknown enum variant errorsAndy Russell-2/+2
2019-03-23Tweak spans for E0599Esteban Küber-8/+8
2019-01-20Use structured suggestion in stead of notesEsteban Küber-4/+2
2018-12-26Fixed more tests.Alexander Regueiro-4/+8
2018-12-25Remove licensesMark Rousskov-4/+4
2018-11-22Do not point at associated types from other cratesEsteban Küber-10/+0
This is a somewhat arbitrary restriction in order to be consistent in the output of the tests regardless of target platform.
2018-11-22Reword and fix testEsteban Küber-2/+2
2018-11-22Point at the associated type's def spanEsteban Küber-0/+10
2018-08-14Merged migrated compile-fail tests and ui tests. Fixes #46841.David Wood-0/+32