blob: b637ca694c203e09efd782dc8014f9c7cf8ba380 (
plain)
1
2
3
4
5
6
7
8
9
|
error[E0282]: type annotations needed
--> $DIR/fallback_inference.rs:3:27
|
LL | fn weird() -> PhantomData<impl Sized> {
| ^^^^^^^^^^ cannot infer type
error: aborting due to previous error
For more information about this error, try `rustc --explain E0282`.
|