1
Fork 0

Rollup merge of #79639 - sasurau4:feature/add-long-explanation-E0212, r=GuillaumeGomez

Add long explanation for E0212

Helps with #61137
This commit is contained in:
Tyler Mandry 2020-12-10 21:33:04 -08:00 committed by GitHub
commit f3a3fc900c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 58 additions and 20 deletions

View file

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