File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
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
3
3
|
4
4
LL | match &1 as *const i32 as usize { //~ ERROR raw pointers cannot be cast to integers
5
5
| ^^^^^^^^^^^^^^^^^^^^^^^^^
6
6
7
7
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
9
9
|
10
10
LL | 0 => 42, //~ ERROR constant contains unimplemented expression type
11
11
| ^
12
12
13
13
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
15
15
|
16
16
LL | let _: [u8; 0] = [4; { //~ ERROR could not evaluate repeat length
17
17
| __________________________^
You can’t perform that action at this time.
0 commit comments