Add more context for type parameters
This commit is contained in:
parent
45550ef2ff
commit
da023c0c6f
41 changed files with 128 additions and 51 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue