mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 22:41:50 +00:00
13 lines
248 B
Rust
13 lines
248 B
Rust
// This file has unexpected closing delimiter,
|
|
|
|
fn func(o: Option<u32>) {
|
|
match o {
|
|
Some(_x) => {} // Extra '}'
|
|
let _ = if true {};
|
|
}
|
|
None => {}
|
|
}
|
|
} //~ ERROR unexpected closing delimiter
|
|
|
|
fn main() {}
|