]> git.lizzy.rs Git - rust.git/blob - src/test/ui/type/type-ascription-with-fn-call.stderr
Auto merge of #99443 - jam1garner:mips-virt-feature, r=nagisa
[rust.git] / src / test / ui / type / type-ascription-with-fn-call.stderr
1 error[E0573]: expected type, found function `f`
2   --> $DIR/type-ascription-with-fn-call.rs:6:5
3    |
4 LL |     f()  :
5    |          - help: maybe you meant to write `;` here
6 LL |     f();
7    |     ^^^ expecting a type here because of type ascription
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0573`.