1 error[E0019]: constant contains unimplemented expression type
2 --> $DIR/const-if.rs:1:20
4 LL | const _X: i32 = if true { 5 } else { 6 };
7 error[E0019]: constant contains unimplemented expression type
8 --> $DIR/const-if.rs:1:17
10 LL | const _X: i32 = if true { 5 } else { 6 };
11 | ^^^^^^^^^^^^^^^^^^^^^^^^
13 error: aborting due to 2 previous errors
15 For more information about this error, try `rustc --explain E0019`.