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.

8 lines
200 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 (and don't ICE).
2016-03-22 15:24:54 -05:00
fn main() {
if foo {
//~^ ERROR: cannot find value `foo`
) //~ ERROR: mismatched closing delimiter: `)`
2016-03-22 15:24:54 -05:00
}