Skip to content

Commit 4760338

Browse files
committed
Bless tests again
1 parent 89eac50 commit 4760338

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/test/ui/unsized-locals/unsized-local-pat.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
2-
--> $DIR/unsized-local-pat.rs:5:15
2+
--> $DIR/unsized-local-pat.rs:7:15
33
|
44
LL | fn f1(box box _b: Box<Box<[u8]>>) {}
55
| ^^ doesn't have a size known at compile-time
@@ -9,7 +9,7 @@ LL | fn f1(box box _b: Box<Box<[u8]>>) {}
99
= help: unsized locals are gated as an unstable feature
1010

1111
error[E0277]: the size for values of type `[i32]` cannot be known at compilation time
12-
--> $DIR/unsized-local-pat.rs:8:12
12+
--> $DIR/unsized-local-pat.rs:10:12
1313
|
1414
LL | fn f2((_x, _y): (i32, [i32])) {}
1515
| ^^ doesn't have a size known at compile-time

src/test/ui/unsized-locals/unsized-locals-using-unsized-fn-params.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
2-
--> $DIR/unsized-locals-using-unsized-fn-params.rs:5:9
2+
--> $DIR/unsized-locals-using-unsized-fn-params.rs:7:9
33
|
44
LL | let _foo: [u8] = *foo;
55
| ^^^^ doesn't have a size known at compile-time

0 commit comments

Comments
 (0)