]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/issue-46983.stderr
Closes #52413: Provide structured suggestion instead of label
[rust.git] / src / test / ui / issue-46983.stderr
index 31aeebd5a721ea5b658ae0e56110e76e4bf62169..53fcdd71eb16e526f85dc77ac39f9755316cfdff 100644 (file)
@@ -2,7 +2,7 @@ error[E0621]: explicit lifetime required in the type of `x`
   --> $DIR/issue-46983.rs:14:5
    |
 LL | fn foo(x: &u32) -> &'static u32 {
-   |        - consider changing the type of `x` to `&'static u32`
+   |           ---- help: consider changing the type of `x` to : `&'static u32`
 LL |     &*x
    |     ^^^ lifetime `'static` required