Rollup merge of #98665 - ChrisDenton:deprecated-suggestion, r=compiler-errors
Use verbose help for deprecation suggestion Fixes #98631 r? `@compiler-errors`
This commit is contained in:
commit
d708bc45c4
4 changed files with 28 additions and 6 deletions
|
@ -150,7 +150,7 @@ pub fn deprecation_suggestion(
|
|||
span: Span,
|
||||
) {
|
||||
if let Some(suggestion) = suggestion {
|
||||
diag.span_suggestion(
|
||||
diag.span_suggestion_verbose(
|
||||
span,
|
||||
&format!("replace the use of the deprecated {}", kind),
|
||||
suggestion,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue