]> git.lizzy.rs Git - rust.git/blob - src/test/ui/resolve/token-error-correct-4.fixed
Add 'src/tools/rustfmt/' from commit '7872306edf2e11a69aaffb9434088fd66b46a863'
[rust.git] / src / test / ui / resolve / token-error-correct-4.fixed
1 // run-rustfix
2 // Test that we do some basic error correction in the tokeniser and apply suggestions.
3
4 fn setsuna(_: ()) {}
5
6 fn kazusa() {}
7
8 fn main() {
9     setsuna(kazusa()); //~ ERROR: expected one of
10 } //~ ERROR: expected expression