fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1error[E0572]: return statement outside of function body 2 --> $DIR/issue-51714.rs:2:14 3 | 4LL | |_: [_; return || {}] | {}; 5 | ^^^^^^^^^^^^ 6 7error[E0572]: return statement outside of function body 8 --> $DIR/issue-51714.rs:5:10 9 | 10LL | [(); return || {}]; 11 | ^^^^^^^^^^^^ 12 13error[E0572]: return statement outside of function body 14 --> $DIR/issue-51714.rs:8:10 15 | 16LL | [(); return |ice| {}]; 17 | ^^^^^^^^^^^^^^^ 18 19error[E0572]: return statement outside of function body 20 --> $DIR/issue-51714.rs:11:10 21 | 22LL | [(); return while let Some(n) = Some(0) {}]; 23 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 24 25error: aborting due to 4 previous errors 26 27For more information about this error, try `rustc --explain E0572`.