]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/regions/regions-implied-bounds-projection-gap-1.stderr
Auto merge of #60093 - GuillaumeGomez:fix-attrs-pos, r=Manishearth
[rust.git] / src / test / ui / regions / regions-implied-bounds-projection-gap-1.stderr
index 41ae515bb9a1615a67801d74b84565c917e7e6f5..7fbc1622c3a4fb11b93f501959d99a8f18e50b0c 100644 (file)
@@ -1,5 +1,5 @@
 error[E0309]: the parameter type `T` may not live long enough
-  --> $DIR/regions-implied-bounds-projection-gap-1.rs:26:10
+  --> $DIR/regions-implied-bounds-projection-gap-1.rs:16:10
    |
 LL | fn func<'x, T:Trait1<'x>>(t: &'x T::Foo)
    |             -- help: consider adding an explicit lifetime bound `T: 'x`...
@@ -8,7 +8,7 @@ LL |     wf::<&'x T>();
    |          ^^^^^
    |
 note: ...so that the reference type `&'x T` does not outlive the data it points at
-  --> $DIR/regions-implied-bounds-projection-gap-1.rs:26:10
+  --> $DIR/regions-implied-bounds-projection-gap-1.rs:16:10
    |
 LL |     wf::<&'x T>();
    |          ^^^^^