blob: 15d56abca5086c10681b53dc822a42c4ec62d661 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
error[E0277]: the trait bound `u8: Tr` is not satisfied
--> $DIR/issue-29595.rs:17:17
|
LL | let a: u8 = Tr::C; //~ ERROR the trait bound `u8: Tr` is not satisfied
| ^^^^^ the trait `Tr` is not implemented for `u8`
|
note: required by `Tr::C`
--> $DIR/issue-29595.rs:13:5
|
LL | const C: Self;
| ^^^^^^^^^^^^^^
error: aborting due to previous error
For more information about this error, try `rustc --explain E0277`.
|