rust/tests/ui/resolve/token-error-correct-2.rs

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: `)`
}