mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-16 00:43:50 +00:00
Bless tests again
This commit is contained in:
parent
89eac50a87
commit
4760338ad2
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user