]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/variance/variance-invariant-self-trait-match.nll.stderr
More nll revisions
[rust.git] / src / test / ui / variance / variance-invariant-self-trait-match.nll.stderr
index 01b2c8803ae7248a5af1f19e01ab5806a5f33aaf..9d16e89450d786ff7189e40e5f443ad9a8ded6c9 100644 (file)
@@ -1,5 +1,5 @@
 error: lifetime may not live long enough
-  --> $DIR/variance-invariant-self-trait-match.rs:10:5
+  --> $DIR/variance-invariant-self-trait-match.rs:14:5
    |
 LL | fn get_min_from_max<'min, 'max, G>()
    |                     ----  ---- lifetime `'max` defined here
@@ -12,7 +12,7 @@ LL |     impls_get::<&'min G>();
    = help: consider adding the following bound: `'min: 'max`
 
 error: lifetime may not live long enough
-  --> $DIR/variance-invariant-self-trait-match.rs:16:5
+  --> $DIR/variance-invariant-self-trait-match.rs:22:5
    |
 LL | fn get_max_from_min<'min, 'max, G>()
    |                     ----  ---- lifetime `'max` defined here