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