rust/tests/ui/span/issue-29595.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
431 B
Plaintext
Raw Normal View History

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