]> git.proxmox.com Git - rustc.git/blob - src/test/ui/parser/issues/issue-62895.rs
New upstream version 1.63.0+dfsg1
[rustc.git] / src / test / ui / parser / issues / 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 }