| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2021-11-20 | Move tests from ui directory | Esteban Kuber | -89/+0 | |
| 2021-11-20 | Do not mention associated items when they introduce an obligation | Esteban Kuber | -5/+0 | |
| 2021-11-20 | Point at source of trait bound obligations in more places | Esteban Kuber | -3/+3 | |
| Be more thorough in using `ItemObligation` and `BindingObligation` when evaluating obligations so that we can point at trait bounds that introduced unfulfilled obligations. We no longer incorrectly point at unrelated trait bounds (`substs-ppaux.verbose.stderr`). In particular, we now point at trait bounds on method calls. We no longer point at "obvious" obligation sources (we no longer have a note pointing at `Trait` saying "required by a bound in `Trait`", like in `associated-types-no-suitable-supertrait*`). Address part of #89418. | ||||
| 2021-08-16 | Use note to point at bound introducing requirement | Esteban Küber | -3/+5 | |
| 2021-08-11 | Modify structured suggestion output | Esteban Küber | -4/+4 | |
| * On suggestions that include deletions, use a diff inspired output format * When suggesting addition, use `+` as underline * Color highlight modified span | ||||
| 2021-04-06 | Point at `impl` and type defs introducing requirements on E0277 | Esteban Küber | -1/+5 | |
| 2020-09-02 | pretty: trim paths of unique symbols | Dan Aloni | -1/+1 | |
| 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-14 | Remove `Sized` `on_unimplemented` note | Esteban Küber | -1/+0 | |
| 2020-04-08 | Small tweaks to required bound span | Esteban Küber | -1/+1 | |
| 2020-03-22 | Increase verbosity when suggesting subtle code changes | Esteban Küber | -16/+24 | |
| 2019-11-21 | Point at type in `let` assignment on type errors | Esteban Küber | -16/+20 | |
| 2019-11-18 | Surround types with backticks in type errors | Esteban Küber | -4/+4 | |
| 2019-11-18 | review comments: tweak prefix strings | Esteban Küber | -8/+8 | |
| 2019-11-18 | Specific labels when referring to "expected" and "found" types | Esteban Küber | -4/+4 | |
| 2019-09-22 | On obligation errors point at the unfulfilled binding when possible | Esteban Küber | -1/+1 | |
| 2019-08-31 | Use span label instead of note for cause in E0631 | Esteban Küber | -5/+3 | |
| 2019-08-09 | Suggest calling function on type error when finding bare fn | Esteban Küber | -4/+28 | |
| 2019-04-18 | hide `--explain` hint if error has no extended info | Andy Russell | -1/+1 | |
| 2019-01-01 | Fix broken links to second edition TRPL. | Corey Farwell | -1/+1 | |
| Fixes https://github.com/rust-lang/rust/issues/57104. | ||||
| 2018-12-25 | Remove licenses | Mark Rousskov | -6/+6 | |
| 2018-08-14 | Merged migrated compile-fail tests and ui tests. Fixes #46841. | David Wood | -0/+55 | |
