about summary refs log tree commit diff
path: root/src/test/ui/const-generics/defaults/trait_objects_fail.stderr
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-21/+0
2022-08-21Rework point-at-argMichael Goulet-6/+2
2022-07-19feat: omit suffixes in const generics (e.g. `1_i32`)Artur Sinila-5/+5
Closes #99255
2022-06-28Note concrete type being coerced into objectMichael Goulet-2/+2
2022-06-08dedup diagnostics default params handlinglcnr-3/+3
2022-04-04Mention implementers of unsatisfied traitEsteban Kuber-4/+2
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-12-10update testsEllen-2/+2
2021-10-20Trait objectsEllen-0/+27