]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/span/issue-29595.stderr
New upstream version 1.55.0+dfsg1
[rustc.git] / src / test / ui / span / issue-29595.stderr
index 81ba0057d717341dbc4dd8f75984f62d20370545..24dfdf8ebc2990b54b7c5f8ca861093b81cf0c4a 100644 (file)
@@ -1,10 +1,15 @@
 error[E0277]: the trait bound `u8: Tr` is not satisfied
-  --> $DIR/issue-29595.rs:17:17
+  --> $DIR/issue-29595.rs:6:17
    |
-17 |     let a: u8 = Tr::C; //~ ERROR the trait bound `u8: Tr` is not satisfied
+LL |     let a: u8 = Tr::C;
    |                 ^^^^^ the trait `Tr` is not implemented for `u8`
    |
-   = note: required by `Tr::C`
+note: required by `Tr::C`
+  --> $DIR/issue-29595.rs:2:5
+   |
+LL |     const C: Self;
+   |     ^^^^^^^^^^^^^^
 
 error: aborting due to previous error
 
+For more information about this error, try `rustc --explain E0277`.