1
Fork 0

Refine E0212 error message

This commit is contained in:
Daiki Ihara 2020-12-04 21:18:01 +09:00
parent e6225434ff
commit 36363e535a

View file

@ -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() {