2017-03-10 22:06:07 +00:00
|
|
|
error[E0277]: the trait bound `u8: Tr` is not satisfied
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/issue-29595.rs:6:17
|
2017-03-10 22:06:07 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | let a: u8 = Tr::C;
|
2017-03-10 22:06:07 +00:00
|
|
|
| ^^^^^ the trait `Tr` is not implemented for `u8`
|
2023-09-10 03:33:07 +00:00
|
|
|
|
|
|
|
|
help: this trait has no implementations, consider adding one
|
|
|
|
--> $DIR/issue-29595.rs:1:1
|
|
|
|
|
|
|
|
|
LL | trait Tr {
|
|
|
|
| ^^^^^^^^
|
2017-03-10 22:06:07 +00:00
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2017-03-10 22:06:07 +00:00
|
|
|
|
2018-03-03 14:59:40 +00:00
|
|
|
For more information about this error, try `rustc --explain E0277`.
|