]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/issues/issue-38954.stderr
Auto merge of #54624 - arielb1:evaluate-outlives, r=nikomatsakis
[rust.git] / src / test / ui / issues / issue-38954.stderr
index 2f0e579378ffc1431a1f93a8cd26fcc31e503bb4..9bc937b97c9a1649b43cf0836a15fcfb56d33490 100644 (file)
@@ -6,6 +6,8 @@ LL | fn _test(ref _p: str) {}
    |
    = help: the trait `std::marker::Sized` is not implemented for `str`
    = 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>
+   = note: all function arguments must have a statically known size
+   = help: unsized locals are gated as an unstable feature
 
 error: aborting due to previous error