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"