821b791b6d
Emit an error if they're found in an invalid position.
15 lines
282 B
Rust
15 lines
282 B
Rust
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; }
|
|
}
|
|
}
|
|
}
|
|
}
|