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 16:21:55 +00:00
// Test that we do some basic error correction in the tokeniser.
2016-03-22 20:24:54 +00:00
fn main() {
foo(bar(;
}
//~^ ERROR: mismatched closing delimiter: `}`
2019-02-05 10:26:26 +00:00
fn foo(_: usize) {}