]> git.lizzy.rs Git - rust.git/blob - src/test/ui/consts/control-flow/feature-gate-const-if-match.if_match.stderr
Auto merge of #66405 - nnethercote:tweak-ObligForest-NodeStates, r=nikomatsakis
[rust.git] / src / test / ui / consts / control-flow / feature-gate-const-if-match.if_match.stderr
1 error: fatal error triggered by #[rustc_error]
2   --> $DIR/feature-gate-const-if-match.rs:109:1
3    |
4 LL | / fn main() {
5 LL | |     let _ = [0; {
6 LL | |         let x = if false { 0 } else { 1 };
7 LL | |
8 ...  |
9 LL | |     }];
10 LL | | }
11    | |_^
12
13 error: aborting due to previous error
14