]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/issue-3154.nll.stderr
Closes #52413: Provide structured suggestion instead of label
[rust.git] / src / test / ui / issue-3154.nll.stderr
index 4420f9dcae4056ad631d2eed4cdc500f0f14ab38..9cad0aabc93c7bdee1ae199e8859d6b5fddc5268 100644 (file)
@@ -14,7 +14,7 @@ error[E0621]: explicit lifetime required in the type of `x`
   --> $DIR/issue-3154.rs:16:15
    |
 LL | fn thing<'a,Q>(x: &Q) -> thing<'a,Q> {
-   |                - consider changing the type of `x` to `&'a Q`
+   |                   -- help: consider changing the type of `x` to : `&'a Q`
 LL |     thing{ x: x } //~ ERROR 16:5: 16:18: explicit lifetime required in the type of `x` [E0621]
    |               ^ lifetime `'a` required