summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issues/issue-62895.rs
blob: 53f17405d79f4aa8ec07b069f532fc31fd0df807 (plain)
1
2
3
4
5
6
7
8
9
10
11
fn main() {}

fn v() -> isize { //~ ERROR mismatched types
mod _ { //~ ERROR expected identifier
pub fn g() -> isizee { //~ ERROR cannot find type `isizee` in this scope
mod _ { //~ ERROR expected identifier
pub    g() -> is //~ ERROR missing `fn` for function definition
(), w20);
}
(), w20); //~ ERROR expected item, found `;`
}