]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/nll/ty-outlives/projection-where-clause-env-wrong-bound.stderr
New upstream version 1.45.0+dfsg1
[rustc.git] / src / test / ui / nll / ty-outlives / projection-where-clause-env-wrong-bound.stderr
index 1a5a3719fd86d36f0b7fd3874e9a95d4a53da1d2..eba00c5a9454e613a5d7cb9cf0ead5d1b6b36d35 100644 (file)
@@ -5,11 +5,7 @@ LL |     bar::<T::Output>()
    |     ^^^^^^^^^^^^^^^^
    |
    = help: consider adding an explicit lifetime bound `<T as MyTrait<'a>>::Output: 'a`...
-note: ...so that the type `<T as MyTrait<'a>>::Output` will meet its required lifetime bounds
-  --> $DIR/projection-where-clause-env-wrong-bound.rs:15:5
-   |
-LL |     bar::<T::Output>()
-   |     ^^^^^^^^^^^^^^^^
+   = note: ...so that the type `<T as MyTrait<'a>>::Output` will meet its required lifetime bounds
 
 error: aborting due to previous error