rust/tests/ui/parser/issues/issue-60075.rs
2023-01-11 09:32:08 +00:00

12 lines
230 B
Rust

fn main() {}
trait T {
fn qux() -> Option<usize> {
let _ = if true {
});
//~^ ERROR non-item in item list
//~| ERROR mismatched closing delimiter: `)`
//~| ERROR expected one of `.`, `;`
Some(4)
}