1 error: this file contains an unclosed delimiter
2 --> $DIR/issue-62881.rs:6:52
4 LL | fn f() -> isize { fn f() -> isize {} pub f<
10 error: missing `fn` or `struct` for function or struct definition
11 --> $DIR/issue-62881.rs:3:41
13 LL | fn f() -> isize { fn f() -> isize {} pub f<
16 error[E0308]: mismatched types
17 --> $DIR/issue-62881.rs:3:29
19 LL | fn f() -> isize { fn f() -> isize {} pub f<
20 | - ^^^^^ expected `isize`, found `()`
22 | implicitly returns `()` as its body has no tail or `return` expression
24 error: aborting due to 3 previous errors
26 For more information about this error, try `rustc --explain E0308`.