about summary refs log tree commit diff
path: root/src/test/ui/traits/reservation-impl
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-139/+0
2022-04-04Mention implementers of unsatisfied traitEsteban Kuber-2/+1
When encountering an unsatisfied trait bound, if there are no other suggestions, mention all the types that *do* implement that trait: ``` error[E0277]: the trait bound `f32: Foo` is not satisfied --> $DIR/impl_wf.rs:22:6 | LL | impl Baz<f32> for f32 { } | ^^^^^^^^ the trait `Foo` is not implemented for `f32` | = help: the following other types implement trait `Foo`: Option<T> i32 str note: required by a bound in `Baz` --> $DIR/impl_wf.rs:18:31 | LL | trait Baz<U: ?Sized> where U: Foo { } | ^^^ required by this bound in `Baz` ``` Mention implementers of traits in `ImplObligation`s. Do not mention other `impl`s for closures, ranges and `?`.
2021-11-20Do not mention associated items when they introduce an obligationEsteban Kuber-5/+0
2021-09-16Point at call span that introduced obligation for the argEsteban Kuber-1/+3
2021-08-22Fix typos “a”→“an”Frank Steffahn-2/+2
2021-07-19Various diagnostics clean ups/tweaksEsteban Küber-3/+5
* Always point at macros, including derive macros * Point at non-local items that introduce a trait requirement * On private associated item, point at definition
2021-06-23Use HTTPS links where possibleSmitty-1/+1
2021-04-06Remove trailing `:` from E0119 messageEsteban Küber-1/+1
2021-02-09Organize trait test filesBram van den Heuvel-0/+141