Indicate origin of where type parameter for uninferred types
This commit is contained in:
parent
12307b3b08
commit
8a4632dec6
28 changed files with 97 additions and 41 deletions
|
|
@ -2,7 +2,7 @@ error[E0282]: type annotations needed
|
|||
--> $DIR/missing-type-parameter.rs:4:5
|
||||
|
|
||||
LL | foo();
|
||||
| ^^^ cannot infer type for type parameter `X`
|
||||
| ^^^ cannot infer type for type parameter `X` declared on the function `foo`
|
||||
|
||||
error: aborting due to previous error
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue