about summary refs log tree commit diff
path: root/src/test/ui/error-codes
diff options
context:
space:
mode:
authorMasaki Hara <ackie.h.gmai@gmail.com>2018-05-29 00:11:34 +0900
committerMasaki Hara <ackie.h.gmai@gmail.com>2018-08-19 08:07:33 +0900
commite2b95cb70e2142aab82a40115d11ff54a975335e (patch)
treec8e4c91ad14abd3a6b82ec3a51be94167cf14a4f /src/test/ui/error-codes
parent7f05304068bf6a3b84b328ad6911f6645a0dbf40 (diff)
downloadrust-e2b95cb70e2142aab82a40115d11ff54a975335e.tar.gz
rust-e2b95cb70e2142aab82a40115d11ff54a975335e.zip
Lift some Sized checks.
Diffstat (limited to 'src/test/ui/error-codes')
-rw-r--r--src/test/ui/error-codes/E0277.stderr1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/ui/error-codes/E0277.stderr b/src/test/ui/error-codes/E0277.stderr
index e4c2f102267..ab9020222ea 100644
--- a/src/test/ui/error-codes/E0277.stderr
+++ b/src/test/ui/error-codes/E0277.stderr
@@ -8,6 +8,7 @@ LL | fn f(p: Path) { }
    = 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: required because it appears within the type `std::path::Path`
    = note: all local variables must have a statically known size
+   = help: unsized locals are gated as an unstable feature
 
 error[E0277]: the trait bound `i32: Foo` is not satisfied
   --> $DIR/E0277.rs:27:5