about summary refs log tree commit diff
path: root/tests/ui/parser/issues/issue-68987-unmatch-issue-3.rs
blob: e71e2730980e4208e212f94051d965ee44610765 (plain)
1
2
3
4
5
6
7
8
// 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 unexpected closing delimiter