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 11error[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 |
44LL | match &1 as *const i32 as usize { //~ ERROR raw pointers cannot be cast to integers
55 | ^^^^^^^^^^^^^^^^^^^^^^^^^
66
77error[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 |
1010LL | 0 => 42, //~ ERROR constant contains unimplemented expression type
1111 | ^
1212
1313error[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 |
1616LL | let _: [u8; 0] = [4; { //~ ERROR could not evaluate repeat length
1717 | __________________________^
You can’t perform that action at this time.
0 commit comments