rust/src/test/ui/const-expr-addr-operator.stderr
Vadim Petrochenkov fa2d9fc4b9 Update UI tests
2018-02-26 20:24:02 +03:00

15 lines
484 B
Text

error[E0080]: constant evaluation error
--> $DIR/const-expr-addr-operator.rs:15:29
|
LL | const X: &'static u32 = &22; //~ ERROR constant evaluation error
| ^^^ unimplemented constant expression: address operator
|
note: for pattern here
--> $DIR/const-expr-addr-operator.rs:17:9
|
LL | X => 0,
| ^
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0080"