]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/hr-subtype/hr-subtype.free_x_vs_free_y.stderr
New upstream version 1.40.0+dfsg1
[rustc.git] / src / test / ui / hr-subtype / hr-subtype.free_x_vs_free_y.stderr
index 3b6aff521698911aac704975200d4801b6ac97ec..74f4212b2468b410d9b0a7c51cbc428eb8e217a4 100644 (file)
@@ -10,7 +10,7 @@ LL | |                             fn(&'y u32)) }
    |
    = note: expected type `std::option::Option<fn(&'x u32)>`
               found type `std::option::Option<fn(&'y u32)>`
-note: the lifetime 'x as defined on the function body at 38:22...
+note: the lifetime `'x` as defined on the function body at 38:22...
   --> $DIR/hr-subtype.rs:38:22
    |
 LL |           fn supertype<'x,'y:'x,'z:'y>() {
@@ -19,7 +19,7 @@ LL |           fn supertype<'x,'y:'x,'z:'y>() {
 LL | / check! { free_x_vs_free_y: (fn(&'x u32),
 LL | |                             fn(&'y u32)) }
    | |__________________________________________- in this macro invocation
-note: ...does not necessarily outlive the lifetime 'y as defined on the function body at 38:25
+note: ...does not necessarily outlive the lifetime `'y` as defined on the function body at 38:25
   --> $DIR/hr-subtype.rs:38:25
    |
 LL |           fn supertype<'x,'y:'x,'z:'y>() {