]> git.lizzy.rs Git - rust.git/blob - src/test/ui/consts/const-if.stderr
Auto merge of #64546 - weiznich:bugfix/rfc-2451-rerebalance-tests, r=nikomatsakis
[rust.git] / src / test / ui / consts / const-if.stderr
1 error[E0019]: constant contains unimplemented expression type
2   --> $DIR/const-if.rs:1:20
3    |
4 LL | const _X: i32 = if true { 5 } else { 6 };
5    |                    ^^^^
6
7 error[E0019]: constant contains unimplemented expression type
8   --> $DIR/const-if.rs:1:17
9    |
10 LL | const _X: i32 = if true { 5 } else { 6 };
11    |                 ^^^^^^^^^^^^^^^^^^^^^^^^
12
13 error: aborting due to 2 previous errors
14
15 For more information about this error, try `rustc --explain E0019`.