rust/src/test/ui/span/issue-29595.stderr
2019-08-31 00:14:23 -07:00

13 lines
370 B
Plaintext

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`.