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

fn setsuna(_: ()) {}

fn kazusa() {}

fn main() {
    setsuna(kazusa(); //~ ERROR: expected one of
} //~ ERROR: expected expression