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

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

7 lines
160 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 (and don't ICE).
2016-03-22 20:24:54 +00:00
fn main() {
if foo {
) //~ ERROR: mismatched closing delimiter: `)`
2016-03-22 20:24:54 +00:00
}