]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/rfc-2093-infer-outlives/regions-outlives-nominal-type-region.stderr
New upstream version 1.40.0+dfsg1
[rustc.git] / src / test / ui / rfc-2093-infer-outlives / regions-outlives-nominal-type-region.stderr
index 9a3ba2d65cad76e22cd78b6eef55bb383dd3e32e..06e5f24dec97014cfa2f50ca81d481a3f3058cc7 100644 (file)
@@ -4,12 +4,12 @@ error[E0491]: in type `&'a variant_struct_region::Foo<'b>`, reference has a long
 LL |         type Out = &'a Foo<'b>;
    |         ^^^^^^^^^^^^^^^^^^^^^^^
    |
-note: the pointer is valid for the lifetime 'a as defined on the impl at 16:10
+note: the pointer is valid for the lifetime `'a` as defined on the impl at 16:10
   --> $DIR/regions-outlives-nominal-type-region.rs:16:10
    |
 LL |     impl<'a, 'b> Trait<'a, 'b> for usize {
    |          ^^
-note: but the referenced data is only valid for the lifetime 'b as defined on the impl at 16:14
+note: but the referenced data is only valid for the lifetime `'b` as defined on the impl at 16:14
   --> $DIR/regions-outlives-nominal-type-region.rs:16:14
    |
 LL |     impl<'a, 'b> Trait<'a, 'b> for usize {