rustc/tests/ui/resolve/token-error-correct-2.rs
2023-09-11 11:26:34 +02:00

7 lines
160 B
Rust

// Test that we do some basic error correction in the tokeniser (and don't ICE).
fn main() {
if foo {
) //~ ERROR: mismatched closing delimiter: `)`
}