rust/tests/ui/parser/issues/issue-60075.rs

9 lines
155 B
Rust

fn main() {}
trait T {
fn qux() -> Option<usize> {
let _ = if true {
}); //~ ERROR mismatched closing delimiter
Some(4)
}