Bless tests again

This commit is contained in:
Santiago Pastorino 2020-10-21 07:35:19 -03:00
parent 89eac50a87
commit 4760338ad2
No known key found for this signature in database
GPG Key ID: 8131A24E0C79EFAF
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
--> $DIR/unsized-local-pat.rs:5:15
--> $DIR/unsized-local-pat.rs:7:15
|
LL | fn f1(box box _b: Box<Box<[u8]>>) {}
| ^^ doesn't have a size known at compile-time
@ -9,7 +9,7 @@ LL | fn f1(box box _b: Box<Box<[u8]>>) {}
= help: unsized locals are gated as an unstable feature
error[E0277]: the size for values of type `[i32]` cannot be known at compilation time
--> $DIR/unsized-local-pat.rs:8:12
--> $DIR/unsized-local-pat.rs:10:12
|
LL | fn f2((_x, _y): (i32, [i32])) {}
| ^^ doesn't have a size known at compile-time

View File

@ -1,5 +1,5 @@
error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
--> $DIR/unsized-locals-using-unsized-fn-params.rs:5:9
--> $DIR/unsized-locals-using-unsized-fn-params.rs:7:9
|
LL | let _foo: [u8] = *foo;
| ^^^^ doesn't have a size known at compile-time