about summary refs log tree commit diff
path: root/src/test/ui/substs-ppaux.normal.stderr
AgeCommit message (Collapse)AuthorLines
2021-11-20Move tests from ui directoryEsteban Kuber-89/+0
2021-11-20Do not mention associated items when they introduce an obligationEsteban Kuber-5/+0
2021-11-20Point at source of trait bound obligations in more placesEsteban 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-16Use note to point at bound introducing requirementEsteban Küber-3/+5
2021-08-11Modify structured suggestion outputEsteban 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-06Point at `impl` and type defs introducing requirements on E0277Esteban Küber-1/+5
2020-09-02pretty: trim paths of unique symbolsDan 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-14Remove `Sized` `on_unimplemented` noteEsteban Küber-1/+0
2020-04-08Small tweaks to required bound spanEsteban Küber-1/+1
2020-03-22Increase verbosity when suggesting subtle code changesEsteban Küber-16/+24
2019-11-21Point at type in `let` assignment on type errorsEsteban Küber-16/+20
2019-11-18Surround types with backticks in type errorsEsteban Küber-4/+4
2019-11-18review comments: tweak prefix stringsEsteban Küber-8/+8
2019-11-18Specific labels when referring to "expected" and "found" typesEsteban Küber-4/+4
2019-09-22On obligation errors point at the unfulfilled binding when possibleEsteban Küber-1/+1
2019-08-31Use span label instead of note for cause in E0631Esteban Küber-5/+3
2019-08-09Suggest calling function on type error when finding bare fnEsteban Küber-4/+28
2019-04-18hide `--explain` hint if error has no extended infoAndy Russell-1/+1
2019-01-01Fix broken links to second edition TRPL.Corey Farwell-1/+1
Fixes https://github.com/rust-lang/rust/issues/57104.
2018-12-25Remove licensesMark Rousskov-6/+6
2018-08-14Merged migrated compile-fail tests and ui tests. Fixes #46841.David Wood-0/+55