]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/variance/variance-associated-types2.stderr
New upstream version 1.57.0+dfsg1
[rustc.git] / src / test / ui / variance / variance-associated-types2.stderr
index 52cdd6493b06dc29f1c016b76f45435a6b5cd6b8..af4f2a7c2a066b953ac0d3b185da35832e6fcaf2 100644 (file)
@@ -6,7 +6,7 @@ LL |     let _: Box<dyn Foo<Bar = &'a u32>> = make();
    |
    = note: expected trait object `dyn Foo<Bar = &'a u32>`
               found trait object `dyn Foo<Bar = &'static u32>`
-note: the lifetime `'a` as defined on the function body at 12:9...
+note: the lifetime `'a` as defined here...
   --> $DIR/variance-associated-types2.rs:12:9
    |
 LL | fn take<'a>(_: &'a u32) {