mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 16:54:01 +00:00
Refine E0212 error message
This commit is contained in:
parent
e6225434ff
commit
36363e535a
@ -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…
Reference in New Issue
Block a user