diff options
| author | Michael Goulet <michael@errs.io> | 2022-08-24 18:36:44 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2022-08-27 03:02:05 +0000 |
| commit | 2820bc4b693b437dbe99cc0d51b95743f94ca970 (patch) | |
| tree | be388596a22c717ac3683a8a1da5acb727df5fe5 /src/test/ui/unsized | |
| parent | 2b443a8d97ff1f26c35e4bcf682bf9a89e8a66d2 (diff) | |
| download | rust-2820bc4b693b437dbe99cc0d51b95743f94ca970.tar.gz rust-2820bc4b693b437dbe99cc0d51b95743f94ca970.zip | |
Revert "Remove deferred sized checks"
This reverts commit 33212bf7f527798a8cfa2bbb38781742f4ca718a.
Diffstat (limited to 'src/test/ui/unsized')
| -rw-r--r-- | src/test/ui/unsized/issue-30355.stderr | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/test/ui/unsized/issue-30355.stderr b/src/test/ui/unsized/issue-30355.stderr index f5491552a45..71bbdf5dec7 100644 --- a/src/test/ui/unsized/issue-30355.stderr +++ b/src/test/ui/unsized/issue-30355.stderr @@ -5,11 +5,8 @@ LL | &X(*Y) | ^^ doesn't have a size known at compile-time | = help: the trait `Sized` is not implemented for `[u8]` + = note: all function arguments must have a statically known size = 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 - | -LL | &X(&*Y) - | + error: aborting due to previous error |
