]> git.proxmox.com Git - rustc.git/blob - src/test/ui/type/type-ascription-with-fn-call.stderr
New upstream version 1.40.0+dfsg1
[rustc.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:5:5
3 |
4 LL | f() :
5 | - help: did you mean to use `;` here instead?
6 LL | f();
7 | ^^^
8 | |
9 | not a type
10 | expecting a type here because of type ascription
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0573`.