2017-03-10 16:06:07 -06:00
|
|
|
error[E0277]: the trait bound `u8: Tr` is not satisfied
|
2017-07-06 13:52:25 -05:00
|
|
|
--> $DIR/issue-29595.rs:17:17
|
2017-03-10 16:06:07 -06:00
|
|
|
|
|
2017-07-06 13:52:25 -05:00
|
|
|
17 | 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`
|
|
|
|
|
|
2018-01-15 16:26:36 -06:00
|
|
|
note: required by `Tr::C`
|
|
|
|
--> $DIR/issue-29595.rs:13:5
|
|
|
|
|
|
|
|
|
13 | const C: Self;
|
|
|
|
| ^^^^^^^^^^^^^^
|
2017-03-10 16:06:07 -06:00
|
|
|
|
2017-07-02 05:49:30 -05:00
|
|
|
error: aborting due to previous error
|
2017-03-10 16:06:07 -06:00
|
|
|
|