]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/issue-14285.stderr
Closes #52413: Provide structured suggestion instead of label
[rust.git] / src / test / ui / issue-14285.stderr
index b5ab7bdb9d1926fb60f1949ef2cae2b282c880cc..169c93cc389e244e98370a15f1a5eb9541e6432a 100644 (file)
@@ -2,7 +2,7 @@ error[E0621]: explicit lifetime required in the type of `a`
   --> $DIR/issue-14285.rs:22:5
    |
 LL | fn foo<'a>(a: &Foo) -> B<'a> {
-   |            - consider changing the type of `a` to `&'a (dyn Foo + 'a)`
+   |               ---- help: consider changing the type of `a` to : `&'a (dyn Foo + 'a)`
 LL |     B(a)    //~ ERROR 22:5: 22:9: explicit lifetime required in the type of `a` [E0621]
    |     ^^^^ lifetime `'a` required