diff options
| author | Michael Goulet <michael@errs.io> | 2023-01-08 23:21:46 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2023-01-12 22:04:30 +0000 |
| commit | 950b47fb967ac8db2ad67da87fb167bf88963bbf (patch) | |
| tree | f4a4d99411ae33ab48b6019ccb807e2c1183cd0c /compiler/rustc_resolve/src | |
| parent | 1bc3683b3275a5eb2ed13d24edcdcbc59afe5d70 (diff) | |
| download | rust-950b47fb967ac8db2ad67da87fb167bf88963bbf.tar.gz rust-950b47fb967ac8db2ad67da87fb167bf88963bbf.zip | |
Render missing generics suggestion verbosely
Diffstat (limited to 'compiler/rustc_resolve/src')
| -rw-r--r-- | compiler/rustc_resolve/src/diagnostics.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_resolve/src/diagnostics.rs b/compiler/rustc_resolve/src/diagnostics.rs index 1a852de8eed..fb2aebbd18a 100644 --- a/compiler/rustc_resolve/src/diagnostics.rs +++ b/compiler/rustc_resolve/src/diagnostics.rs @@ -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); |
