2019-07-22 20:29:49 -05:00
|
|
|
error: this file contains an un-closed delimiter
|
|
|
|
--> $DIR/issue-62881.rs:6:53
|
|
|
|
|
|
|
|
|
LL | fn f() -> isize { fn f() -> isize {} pub f<
|
|
|
|
| - un-closed delimiter
|
|
|
|
...
|
|
|
|
LL |
|
|
|
|
| ^
|
|
|
|
|
|
|
|
error: missing `fn` or `struct` for function or struct definition
|
|
|
|
--> $DIR/issue-62881.rs:3:41
|
|
|
|
|
|
|
|
|
LL | fn f() -> isize { fn f() -> isize {} pub f<
|
|
|
|
| ^
|
|
|
|
|
|
|
|
error[E0308]: mismatched types
|
|
|
|
--> $DIR/issue-62881.rs:3:29
|
|
|
|
|
|
|
|
|
LL | fn f() -> isize { fn f() -> isize {} pub f<
|
|
|
|
| - ^^^^^ expected isize, found ()
|
|
|
|
| |
|
2019-08-08 18:56:57 -05:00
|
|
|
| implicitly returns `()` as its body has no tail or `return` expression
|
2019-07-22 20:29:49 -05:00
|
|
|
|
|
|
|
error: aborting due to 3 previous errors
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0308`.
|