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() {
|
2016-11-30 16:35:25 -06:00
|
|
|
if foo {
|
2017-12-10 14:29:24 -06:00
|
|
|
//~^ ERROR: cannot find value `foo`
|
2020-01-03 07:40:15 -06:00
|
|
|
) //~ ERROR: mismatched closing delimiter: `)`
|
2016-03-22 15:24:54 -05:00
|
|
|
}
|