rust/src/test/ui/span/issue-29595.stderr

16 lines
464 B
Plaintext
Raw Normal View History

2017-03-10 16:06:07 -06:00
error[E0277]: the trait bound `u8: Tr` is not satisfied
2018-12-25 09:56:47 -06:00
--> $DIR/issue-29595.rs:6:17
2017-03-10 16:06:07 -06:00
|
2018-02-22 18:42:32 -06:00
LL | let a: u8 = Tr::C; //~ ERROR the trait bound `u8: Tr` is not satisfied
2017-03-10 16:06:07 -06:00
| ^^^^^ the trait `Tr` is not implemented for `u8`
|
note: required by `Tr::C`
2018-12-25 09:56:47 -06:00
--> $DIR/issue-29595.rs:2:5
|
2018-02-22 18:42:32 -06:00
LL | const C: Self;
| ^^^^^^^^^^^^^^
2017-03-10 16:06:07 -06:00
error: aborting due to previous error
2017-03-10 16:06:07 -06:00
2018-03-03 08:59:40 -06:00
For more information about this error, try `rustc --explain E0277`.