2017-03-10 22:06:07 +00:00
|
|
|
error[E0277]: the trait bound `u8: Tr` is not satisfied
|
2017-07-06 18:52:25 +00:00
|
|
|
--> $DIR/issue-29595.rs:17:17
|
2017-03-10 22:06:07 +00:00
|
|
|
|
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | let a: u8 = Tr::C; //~ ERROR the trait bound `u8: Tr` is not satisfied
|
2017-03-10 22:06:07 +00:00
|
|
|
| ^^^^^ the trait `Tr` is not implemented for `u8`
|
|
|
|
|
|
2018-01-15 22:26:36 +00:00
|
|
|
note: required by `Tr::C`
|
|
|
|
--> $DIR/issue-29595.rs:13:5
|
|
|
|
|
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | const C: Self;
|
2018-01-15 22:26:36 +00:00
|
|
|
| ^^^^^^^^^^^^^^
|
2017-03-10 22:06:07 +00:00
|
|
|
|
2017-07-02 10:49:30 +00:00
|
|
|
error: aborting due to previous error
|
2017-03-10 22:06:07 +00:00
|
|
|
|
2018-02-19 20:40:25 +00:00
|
|
|
If you want more information on this error, try using "rustc --explain E0277"
|