]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/issues/issue-46983.stderr
New upstream version 1.54.0+dfsg1
[rustc.git] / src / test / ui / issues / issue-46983.stderr
index 8a4a6bdb39fa4202a72193a357f84533dd88ac04..d328329edad22209166ef61166d347bf00c959f1 100644 (file)
@@ -1,8 +1,6 @@
 error[E0621]: explicit lifetime required in the type of `x`
   --> $DIR/issue-46983.rs:2:5
    |
-LL | fn foo(x: &u32) -> &'static u32 {
-   |           ---- help: add explicit lifetime `'static` to the type of `x`: `&'static u32`
 LL |     &*x
    |     ^^^ lifetime `'static` required