]>
Commit | Line | Data |
---|---|---|
8faf50e0 | 1 | error[E0282]: type annotations needed |
0731742a | 2 | --> $DIR/issue-17551.rs:6:15 |
8faf50e0 | 3 | | |
532ac7d7 | 4 | LL | let foo = B(marker::PhantomData); |
8faf50e0 XL |
5 | | --- ^ cannot infer type for `T` |
6 | | | | |
7 | | consider giving `foo` a type | |
8 | ||
9 | error: aborting due to previous error | |
10 | ||
11 | For more information about this error, try `rustc --explain E0282`. |