]> git.proxmox.com Git - rustc.git/blobdiff - tests/ui/implied-bounds/assoc-ty-wf-used-to-get-assoc-ty.stderr
New upstream version 1.69.0+dfsg1
[rustc.git] / tests / ui / implied-bounds / assoc-ty-wf-used-to-get-assoc-ty.stderr
index d0249e74f39e966939434ac403c5ea4417e2740e..307899297bc01664fa71c38d2f01b42e30130013 100644 (file)
@@ -1,6 +1,8 @@
 error[E0597]: `x` does not live long enough
   --> $DIR/assoc-ty-wf-used-to-get-assoc-ty.rs:24:31
    |
+LL |     let x: u8 = 3;
+   |         - binding `x` declared here
 LL |     let _: &'static u8 = test(&x, &&3);
    |                          -----^^------
    |                          |    |