blob: 4f74df0bf1f392e4d4d2e7bfad92f68cba3f00c7 (
plain)
1
2
3
4
5
6
7
8
9
|
// Test that we do some basic error correction in the tokeniser.
fn main() {
foo(bar(;
//~^ ERROR cannot find function `bar` in this scope
}
//~^ ERROR: mismatched closing delimiter: `}`
fn foo(_: usize) {}
|