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,
|
self.tcx().sess,
|
||||||
span,
|
span,
|
||||||
E0212,
|
E0212,
|
||||||
"cannot extract an associated type from a higher-ranked trait bound \
|
"cannot use the associated type of a trait \
|
||||||
in this context"
|
with uninferred generic parameters"
|
||||||
);
|
);
|
||||||
|
|
||||||
match self.node() {
|
match self.node() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue