]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/foreign-fn-return-lifetime.stderr
Auto merge of #93718 - thomcc:used-macho, r=pnkfelix
[rust.git] / src / test / ui / foreign-fn-return-lifetime.stderr
index feecb6d80e771ee8f88446d934a7c96f7a22fcd4..b174766cd3d0c166ef49989a87bea1b502a74217 100644 (file)
@@ -8,7 +8,7 @@ LL |     pub fn f() -> &u8;
 help: consider using the `'static` lifetime
    |
 LL |     pub fn f() -> &'static u8;
-   |                   ^^^^^^^^
+   |                   ~~~~~~~~
 
 error: aborting due to previous error