1error: expected identifier, found reserved identifier `_`
2  --> $DIR/issue-62895.rs:4:5
3   |
4LL | mod _ {
5   |     ^ expected identifier, found reserved identifier
6
7error: expected identifier, found reserved identifier `_`
8  --> $DIR/issue-62895.rs:6:5
9   |
10LL | mod _ {
11   |     ^ expected identifier, found reserved identifier
12
13error: missing `fn` for function definition
14  --> $DIR/issue-62895.rs:7:4
15   |
16LL | pub    g() -> is
17   |    ^^^^
18   |
19help: add `fn` here to parse `g` as a public function
20   |
21LL | pub fn g() -> is
22   |     ++
23
24error: expected item, found `;`
25  --> $DIR/issue-62895.rs:10:9
26   |
27LL | (), w20);
28   |         ^ help: remove this semicolon
29
30error[E0412]: cannot find type `isizee` in this scope
31  --> $DIR/issue-62895.rs:5:15
32   |
33LL | pub fn g() -> isizee {
34   |               ^^^^^^ help: a builtin type with a similar name exists: `isize`
35
36error[E0308]: mismatched types
37  --> $DIR/issue-62895.rs:3:11
38   |
39LL | fn v() -> isize {
40   |    -      ^^^^^ expected `isize`, found `()`
41   |    |
42   |    implicitly returns `()` as its body has no tail or `return` expression
43
44error: aborting due to 6 previous errors
45
46Some errors have detailed explanations: E0308, E0412.
47For more information about an error, try `rustc --explain E0308`.
48