Refine E0212 error message
This commit is contained in:
parent
e6225434ff
commit
36363e535a
1 changed files with 2 additions and 2 deletions
|
@ -359,8 +359,8 @@ impl AstConv<'tcx> for ItemCtxt<'tcx> {
|
|||
self.tcx().sess,
|
||||
span,
|
||||
E0212,
|
||||
"cannot extract an associated type from a higher-ranked trait bound \
|
||||
in this context"
|
||||
"cannot use the associated type of a trait \
|
||||
with uninferred generic parameters"
|
||||
);
|
||||
|
||||
match self.node() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue