]> git.proxmox.com Git - rustc.git/blame - src/test/ui/type/type-ascription-with-fn-call.stderr
New upstream version 1.67.1+dfsg1
[rustc.git] / src / test / ui / type / type-ascription-with-fn-call.stderr
CommitLineData
3b2f2976 1error[E0573]: expected type, found function `f`
3dfed10e 2 --> $DIR/type-ascription-with-fn-call.rs:6:5
3b2f2976 3 |
0531ce1d 4LL | f() :
3dfed10e 5 | - help: maybe you meant to write `;` here
532ac7d7 6LL | f();
3dfed10e 7 | ^^^ expecting a type here because of type ascription
3b2f2976
XL
8
9error: aborting due to previous error
10
e74abb32 11For more information about this error, try `rustc --explain E0573`.