]> git.lizzy.rs Git - rust.git/blob - tests/ui/wf/issue-96810.stderr
Don't resolve type var roots in point_at_expr_source_of_inferred_type
[rust.git] / tests / ui / wf / issue-96810.stderr
1 error[E0277]: the trait bound `K: Tr` is not satisfied
2   --> $DIR/issue-96810.rs:8:8
3    |
4 LL |     s: S<K>,
5    |        ^^^^ the trait `Tr` is not implemented for `K`
6    |
7 note: required by a bound in `S`
8   --> $DIR/issue-96810.rs:1:13
9    |
10 LL | struct S<T: Tr>(T::Assoc);
11    |             ^^ required by this bound in `S`
12 help: consider restricting type parameter `K`
13    |
14 LL | struct Hoge<K: Tr> {
15    |              ++++
16
17 error: aborting due to previous error
18
19 For more information about this error, try `rustc --explain E0277`.