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