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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
161 B
Rust
Raw Normal View History

2018-10-22 11:21:55 -05:00
// Test that we do some basic error correction in the tokeniser.
2016-03-22 15:24:54 -05:00
fn main() {
foo(bar(;
}
//~^ ERROR: mismatched closing delimiter: `}`
2019-02-05 04:26:26 -06:00
fn foo(_: usize) {}