|
LL | pub g() -> is
| ^^^^
+ |
help: add `fn` here to parse `g` as a public function
|
LL | pub fn g() -> is
| - ^^^^^ expected isize, found ()
| |
| implicitly returns `()` as its body has no tail or `return` expression
- |
- = note: expected type `isize`
- found type `()`
error: aborting due to 6 previous errors