rust/tests/ui/resolve/token-error-correct-4.fixed

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
236 B
Rust
Raw Normal View History

2020-07-02 00:32:12 -05:00
// 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