]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/rfc-2093-infer-outlives/explicit-dyn.stderr
New upstream version 1.64.0+dfsg1
[rustc.git] / src / test / ui / rfc-2093-infer-outlives / explicit-dyn.stderr
index 4608962c7c3f8bff490c21c3912989741d9500c0..595a5c28088d6188f805170a756ae575849d78f2 100644 (file)
@@ -1,11 +1,8 @@
 error: rustc_outlives
   --> $DIR/explicit-dyn.rs:7:1
    |
-LL | / struct Foo<'a, A>
-LL | | {
-LL | |     foo: Box<dyn Trait<'a, A>>
-LL | | }
-   | |_^
+LL | struct Foo<'a, A>
+   | ^^^^^^^^^^^^^^^^^
    |
    = note: A: 'a