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