]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/issue-62895.rs
Rollup merge of #67005 - andrewbanchich:master, r=joshtriplett
[rust.git] / src / test / ui / parser / issue-62895.rs
1 fn main() {}
2
3 fn v() -> isize { //~ ERROR mismatched types
4 mod _ { //~ ERROR expected identifier
5 pub fn g() -> isizee { //~ ERROR cannot find type `isizee` in this scope
6 mod _ { //~ ERROR expected identifier
7 pub    g() -> is //~ ERROR missing `fn` for function definition
8 (), w20);
9 }
10 (), w20); //~ ERROR expected item, found `;`
11 }