blob: 5bda81451d0e248ae04d9634288212f9d3afff95 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
error[E0080]: constant evaluation error
--> $DIR/const-expr-addr-operator.rs:15:29
|
15 | const X: &'static u32 = &22;
| ^^^ unimplemented constant expression: address operator
|
note: for pattern here
--> $DIR/const-expr-addr-operator.rs:17:9
|
17 | X => 0,
| ^
error: aborting due to previous error
|