Skip to content

Commit f9825c2

Browse files
committed
fix line numbers
1 parent 03b9020 commit f9825c2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/ui/const-eval/match-test-ptr-null.stderr

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
error[E0018]: raw pointers cannot be cast to integers in constants
2-
--> $DIR/match-test-ptr-null.rs:6:15
2+
--> $DIR/match-test-ptr-null.rs:16:15
33
|
44
LL | match &1 as *const i32 as usize { //~ ERROR raw pointers cannot be cast to integers
55
| ^^^^^^^^^^^^^^^^^^^^^^^^^
66

77
error[E0019]: constant contains unimplemented expression type
8-
--> $DIR/match-test-ptr-null.rs:7:13
8+
--> $DIR/match-test-ptr-null.rs:17:13
99
|
1010
LL | 0 => 42, //~ ERROR constant contains unimplemented expression type
1111
| ^
1212

1313
error[E0080]: could not evaluate repeat length
14-
--> $DIR/match-test-ptr-null.rs:5:26
14+
--> $DIR/match-test-ptr-null.rs:15:26
1515
|
1616
LL | let _: [u8; 0] = [4; { //~ ERROR could not evaluate repeat length
1717
| __________________________^

0 commit comments

Comments
 (0)