We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03b9020 commit f9825c2Copy full SHA for f9825c2
src/test/ui/const-eval/match-test-ptr-null.stderr
@@ -1,17 +1,17 @@
1
error[E0018]: raw pointers cannot be cast to integers in constants
2
- --> $DIR/match-test-ptr-null.rs:6:15
+ --> $DIR/match-test-ptr-null.rs:16:15
3
|
4
LL | match &1 as *const i32 as usize { //~ ERROR raw pointers cannot be cast to integers
5
| ^^^^^^^^^^^^^^^^^^^^^^^^^
6
7
error[E0019]: constant contains unimplemented expression type
8
- --> $DIR/match-test-ptr-null.rs:7:13
+ --> $DIR/match-test-ptr-null.rs:17:13
9
10
LL | 0 => 42, //~ ERROR constant contains unimplemented expression type
11
| ^
12
13
error[E0080]: could not evaluate repeat length
14
- --> $DIR/match-test-ptr-null.rs:5:26
+ --> $DIR/match-test-ptr-null.rs:15:26
15
16
LL | let _: [u8; 0] = [4; { //~ ERROR could not evaluate repeat length
17
| __________________________^
0 commit comments