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

7 lines
197 B
Rust

// Test that we do some basic error correction in the tokeniser (and don't ICE).
fn main() {
if foo {
//~^ ERROR: cannot find value `foo`
) //~ ERROR: incorrect close delimiter: `)`
}