rust/tests/ui/parser/issues/issue-68987-unmatch-issue-3.rs
Esteban Küber 855444ec54 mv tests
2023-10-24 21:27:05 +00:00

9 lines
263 B
Rust

// the `{` is closed with `)`, there is a missing `(`
fn f(i: u32, j: u32) {
let res = String::new();
let mut cnt = i;
while cnt < j {
write!&mut res, " "); //~ ERROR mismatched closing delimiter
}
} //~ ERROR unexpected closing delimiter