| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-01-11 | Move /src/test to /tests | Albert Larsan | -55/+0 | |
| 2022-07-08 | distinguish the method and associated function diagnostic information | Yiming 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-02 | pretty: trim paths of unique symbols | Dan 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-12 | update tests | Mark Mansi | -1/+1 | |
| 2020-02-28 | keep predicate order and tweak output | Esteban Küber | -12/+20 | |
| 2020-02-28 | Tweak wording | Esteban Küber | -4/+4 | |
| 2020-02-28 | Mention the full path of the implementing trait | Esteban Küber | -4/+4 | |
| 2020-02-28 | On single local candidate, use span label | Esteban Küber | -8/+12 | |
| 2020-01-08 | Unify output of "variant not found" errors | Esteban Küber | -4/+4 | |
| 2019-09-08 | Give method not found a primary span label | Esteban Küber | -3/+3 | |
| 2019-04-09 | improve unknown enum variant errors | Andy Russell | -1/+1 | |
| 2019-03-11 | Update tests | Vadim Petrochenkov | -4/+4 | |
| 2019-01-20 | Use structured suggestion in stead of notes | Esteban Küber | -2/+1 | |
| 2018-12-25 | Remove licenses | Mark Rousskov | -4/+4 | |
| 2018-08-14 | Merged migrated compile-fail tests and ui tests. Fixes #46841. | David Wood | -0/+44 | |
