Add more context for type parameters

This commit is contained in:
Esteban Küber 2019-12-11 17:06:24 -08:00
parent 45550ef2ff
commit da023c0c6f
41 changed files with 128 additions and 51 deletions

View file

@ -2,7 +2,7 @@ error[E0282]: type annotations needed
--> $DIR/missing-type-parameter.rs:4:5
|
LL | foo();
| ^^^ cannot infer type for `X`
| ^^^ cannot infer type for type parameter `X`
error: aborting due to previous error