]> git.proxmox.com Git - rustc.git/blame - src/test/ui/missing/missing-items/missing-type-parameter.stderr
New upstream version 1.67.1+dfsg1
[rustc.git] / src / test / ui / missing / missing-items / missing-type-parameter.stderr
CommitLineData
8bb4bdeb 1error[E0282]: type annotations needed
0731742a 2 --> $DIR/missing-type-parameter.rs:4:5
476ff2be 3 |
532ac7d7 4LL | foo();
923072b8
FG
5 | ^^^ cannot infer type of the type parameter `X` declared on the function `foo`
6 |
7help: consider specifying the generic argument
8 |
9LL | foo::<X>();
10 | +++++
476ff2be 11
041b39d2 12error: aborting due to previous error
476ff2be 13
0531ce1d 14For more information about this error, try `rustc --explain E0282`.