From b7db6bb5af8187ccb9be1076dd99d3cbb7fd8fa5 Mon Sep 17 00:00:00 2001 From: Esteban Küber Date: Fri, 10 Jul 2020 16:05:35 -0700 Subject: Remove `Sized` `on_unimplemented` note --- src/test/ui/error-codes/E0277.stderr | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/test/ui/error-codes') diff --git a/src/test/ui/error-codes/E0277.stderr b/src/test/ui/error-codes/E0277.stderr index a9ea85d14cf..8789bb9609b 100644 --- a/src/test/ui/error-codes/E0277.stderr +++ b/src/test/ui/error-codes/E0277.stderr @@ -2,10 +2,9 @@ error[E0277]: the size for values of type `[u8]` cannot be known at compilation --> $DIR/E0277.rs:13:6 | LL | fn f(p: Path) { } - | ^ borrow the `Path` instead + | ^ doesn't have a size known at compile-time | = help: within `std::path::Path`, the trait `std::marker::Sized` is not implemented for `[u8]` - = note: to learn more, visit = 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 -- cgit 1.4.1-3-g733a5