rust/src/test/ui/resolve/token-error-correct.rs
2018-12-25 21:08:33 -07:00

7 lines
184 B
Rust

// Test that we do some basic error correction in the tokeniser.
fn main() {
foo(bar(;
//~^ ERROR: expected expression, found `;`
}
//~^ ERROR: incorrect close delimiter: `}`