mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
9 lines
263 B
Rust
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
|