]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/issues/issue-14285.stderr
Auto merge of #57108 - Mark-Simulacrum:license-remove, r=pietroalbini
[rust.git] / src / test / ui / issues / issue-14285.stderr
index 52163f81b7bf42c08c0d653c9198ebeabe4c1eac..e5d0ab0684a0beaf3df24e71c4e6feab7039e626 100644 (file)
@@ -1,9 +1,9 @@
 error[E0621]: explicit lifetime required in the type of `a`
-  --> $DIR/issue-14285.rs:22:5
+  --> $DIR/issue-14285.rs:12:5
    |
 LL | fn foo<'a>(a: &Foo) -> B<'a> {
    |               ---- help: add explicit lifetime `'a` to the type of `a`: `&'a (dyn Foo + 'a)`
-LL |     B(a)    //~ ERROR 22:5: 22:9: explicit lifetime required in the type of `a` [E0621]
+LL |     B(a)    //~ ERROR explicit lifetime required in the type of `a` [E0621]
    |     ^^^^ lifetime `'a` required
 
 error: aborting due to previous error