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

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) {}