From 6c94c6bafeee5322a4502f48fd53bf0269f144cc Mon Sep 17 00:00:00 2001 From: Haibo Huang Date: Wed, 18 Nov 2020 15:37:31 -0800 Subject: Upgrade rust/crates/pin-project to 1.0.2 Test: make Change-Id: Ia85e48e7fd669c568d9abc6a68934b8cfdb13f09 --- tests/ui/pin_project/project_replace_unsized.stderr | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/ui/pin_project/project_replace_unsized.stderr') diff --git a/tests/ui/pin_project/project_replace_unsized.stderr b/tests/ui/pin_project/project_replace_unsized.stderr index b6ecb1b..e40db5f 100644 --- a/tests/ui/pin_project/project_replace_unsized.stderr +++ b/tests/ui/pin_project/project_replace_unsized.stderr @@ -7,7 +7,7 @@ error[E0277]: the size for values of type `T` cannot be known at compilation tim | - this type parameter needs to be `Sized` | = note: required because it appears within the type `Struct` - = help: unsized locals are gated as an unstable feature + = help: unsized fn params are gated as an unstable feature help: function arguments must have a statically known size, borrowed types always have a known size | 3 | #[pin_project(&project_replace)] //~ ERROR E0277 @@ -42,7 +42,7 @@ error[E0277]: the size for values of type `T` cannot be known at compilation tim | - this type parameter needs to be `Sized` | = note: required because it appears within the type `TupleStruct` - = help: unsized locals are gated as an unstable feature + = help: unsized fn params are gated as an unstable feature help: function arguments must have a statically known size, borrowed types always have a known size | 8 | #[pin_project(&project_replace)] //~ ERROR E0277 @@ -67,4 +67,4 @@ error[E0277]: the size for values of type `T` cannot be known at compilation tim | doesn't have a size known at compile-time | = note: all function arguments must have a statically known size - = help: unsized locals are gated as an unstable feature + = help: unsized fn params are gated as an unstable feature -- cgit v1.2.3