]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/issues/issue-27078.stderr
New upstream version 1.49.0~beta.4+dfsg1
[rustc.git] / src / test / ui / issues / issue-27078.stderr
index 006389f75375da72d63aed4958a0a214375dfb05..021a08696de2cc831035935513c6c7656323d871 100644 (file)
@@ -4,7 +4,7 @@ error[E0277]: the size for values of type `Self` cannot be known at compilation
 LL |     fn foo(self) -> &'static i32 {
    |            ^^^^ doesn't have a size known at compile-time
    |
-   = help: unsized locals are gated as an unstable feature
+   = help: unsized fn params are gated as an unstable feature
 help: consider further restricting `Self`
    |
 LL |     fn foo(self) -> &'static i32 where Self: Sized {