rust/crates/syntax/test_data/parser/validation/invalid_let_expr.rs

15 lines
282 B
Rust
Raw Normal View History

fn foo() {
const _: () = let _ = None;
let _ = if true { (let _ = None) };
if true && (let _ = None) {
(let _ = None);
while let _ = None {
match None {
_ if let _ = None => { let _ = None; }
}
}
}
}