]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/issues/issue-27078.stderr
Auto merge of #54624 - arielb1:evaluate-outlives, r=nikomatsakis
[rust.git] / src / test / ui / issues / issue-27078.stderr
index 65b66997ee829c5cb35ce021a5e0ba52af337b95..269a69dde3345bdd930e902c5f5b338ebc843060 100644 (file)
@@ -8,6 +8,7 @@ LL |     fn foo(self) -> &'static i32 {
    = note: to learn more, visit <https://doc.rust-lang.org/book/second-edition/ch19-04-advanced-types.html#dynamically-sized-types-and-the-sized-trait>
    = help: consider adding a `where Self: std::marker::Sized` bound
    = note: all local variables must have a statically known size
+   = help: unsized locals are gated as an unstable feature
 
 error: aborting due to previous error