]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/variance/variance-use-contravariant-struct-1.stderr
Merge branch 'master' into rusty-hermit
[rust.git] / src / test / ui / variance / variance-use-contravariant-struct-1.stderr
index 7c433378df5c3abd1b72b9cdba6f7c0702c4b6ba..618f56da512d6aa6a71765fed3bc5a408f3192f7 100644 (file)
@@ -6,12 +6,12 @@ LL |     v
    |
    = note: expected type `SomeStruct<&'min ()>`
               found type `SomeStruct<&'max ()>`
-note: the lifetime 'min as defined on the function body at 8:8...
+note: the lifetime `'min` as defined on the function body at 8:8...
   --> $DIR/variance-use-contravariant-struct-1.rs:8:8
    |
 LL | fn foo<'min,'max>(v: SomeStruct<&'max ()>)
    |        ^^^^
-note: ...does not necessarily outlive the lifetime 'max as defined on the function body at 8:13
+note: ...does not necessarily outlive the lifetime `'max` as defined on the function body at 8:13
   --> $DIR/variance-use-contravariant-struct-1.rs:8:13
    |
 LL | fn foo<'min,'max>(v: SomeStruct<&'max ()>)