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:
commit
f3a3fc900c
11 changed files with 58 additions and 20 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