summaryrefslogtreecommitdiffstats
path: root/tests/ui/resolve/token-error-correct.rs
blob: 84ee90e36856c5041a2f93831759eb684f00334a (plain)
1
2
3
4
5
6
7
8
// Test that we do some basic error correction in the tokeniser.

fn main() {
    foo(bar(;
}
//~^ ERROR: mismatched closing delimiter: `}`

fn foo(_: usize) {}