]> git.lizzy.rs Git - rust.git/blob - tests/ui/wf/issue-95665.stderr
Don't resolve type var roots in point_at_expr_source_of_inferred_type
[rust.git] / tests / ui / wf / issue-95665.stderr
1 error[E0277]: the trait bound `u8: Trait` is not satisfied
2   --> $DIR/issue-95665.rs:14:17
3    |
4 LL |     static VAR: Struct<u8>;
5    |                 ^^^^^^^^^^ the trait `Trait` is not implemented for `u8`
6    |
7 note: required by a bound in `Struct`
8   --> $DIR/issue-95665.rs:6:22
9    |
10 LL | pub struct Struct<T: Trait> {
11    |                      ^^^^^ required by this bound in `Struct`
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0277`.