Render missing generics suggestion verbosely
This commit is contained in:
parent
1bc3683b32
commit
950b47fb96
15 changed files with 103 additions and 52 deletions
|
@ -167,7 +167,7 @@ impl<'a> Resolver<'a> {
|
|||
);
|
||||
err.emit();
|
||||
} else if let Some((span, msg, sugg, appl)) = suggestion {
|
||||
err.span_suggestion(span, msg, sugg, appl);
|
||||
err.span_suggestion_verbose(span, msg, sugg, appl);
|
||||
err.emit();
|
||||
} else if let [segment] = path.as_slice() && is_call {
|
||||
err.stash(segment.ident.span, rustc_errors::StashKey::CallIntoMethod);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue