blob: f29144e4aa7553cc71e70e36828d19446e717d40 (
plain)
1
2
3
4
5
6
7
8
9
|
error[E0282]: type annotations needed
--> $DIR/inference-fail.rs:10:12
|
LL | let _: S<_>::P = ();
| ^^^^^^^ cannot infer type for type parameter `T`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0282`.
|