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

9 lines
161 B
Rust

// Test that we do some basic error correction in the tokeniser.
fn main() {
foo(bar(;
}
//~^ ERROR: mismatched closing delimiter: `}`
fn foo(_: usize) {}