summaryrefslogtreecommitdiffstats
path: root/tests/ui/resolve/token-error-correct-2.rs
blob: a38755dae08580f8a823c3d2ab53202bc3c1f943 (plain)
1
2
3
4
5
6
// Test that we do some basic error correction in the tokeniser (and don't ICE).

fn main() {
    if foo {
    ) //~ ERROR: mismatched closing delimiter: `)`
}