]> 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 1d3e33e4b05030c1d45698d4b76938fc8a1b972a..24dfdf8ebc2990b54b7c5f8ca861093b81cf0c4a 100644 (file)
@@ -1,11 +1,14 @@
 error[E0277]: the trait bound `u8: Tr` is not satisfied
   --> $DIR/issue-29595.rs:6:17
    |
-LL |     const C: Self;
-   |     -------------- required by `Tr::C`
-...
 LL |     let a: u8 = Tr::C;
    |                 ^^^^^ the trait `Tr` is not implemented for `u8`
+   |
+note: required by `Tr::C`
+  --> $DIR/issue-29595.rs:2:5
+   |
+LL |     const C: Self;
+   |     ^^^^^^^^^^^^^^
 
 error: aborting due to previous error