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

fn setsuna(_: ()) {}

fn kazusa() {}

fn main() {
    setsuna(kazusa();
} //~ ERROR mismatched closing delimiter