]>
Commit | Line | Data |
---|---|---|
3b2f2976 | 1 | error[E0573]: expected type, found function `f` |
3dfed10e | 2 | --> $DIR/type-ascription-with-fn-call.rs:6:5 |
3b2f2976 | 3 | | |
0531ce1d | 4 | LL | f() : |
3dfed10e | 5 | | - help: maybe you meant to write `;` here |
532ac7d7 | 6 | LL | f(); |
3dfed10e | 7 | | ^^^ expecting a type here because of type ascription |
3b2f2976 XL |
8 | |
9 | error: aborting due to previous error | |
10 | ||
e74abb32 | 11 | For more information about this error, try `rustc --explain E0573`. |