diff options
| author | Cengiz Can <cengizc@gmail.com> | 2017-01-24 15:19:36 +0000 |
|---|---|---|
| committer | Cengiz Can <cengizc@gmail.com> | 2017-02-04 16:25:56 -0500 |
| commit | 8579218b273a25ee05386034b2df2c9aee9234c7 (patch) | |
| tree | 95840ee24ceae9a59b61ca4c19279cf40d34285d /src/test/ui/missing-items | |
| parent | eb5cb9545cfa4f1e90c92266b802edc4690f584a (diff) | |
Improve error message for uninferrable types #38812
Diffstat (limited to 'src/test/ui/missing-items')
| -rw-r--r-- | src/test/ui/missing-items/missing-type-parameter.stderr | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/test/ui/missing-items/missing-type-parameter.stderr b/src/test/ui/missing-items/missing-type-parameter.stderr index 2d007af4980..df5571787d7 100644 --- a/src/test/ui/missing-items/missing-type-parameter.stderr +++ b/src/test/ui/missing-items/missing-type-parameter.stderr @@ -1,10 +1,11 @@ -error[E0282]: unable to infer enough type information about `X` +error[E0282]: unable to fully infer type(s) --> $DIR/missing-type-parameter.rs:14:5 | 14 | foo(); - | ^^^ cannot infer type for `X` + | ^^^ cannot infer type | = note: type annotations or generic parameter binding required error: aborting due to previous error + |
