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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user