Use verbose help for deprecation suggestion
This commit is contained in:
parent
116edb6800
commit
3cbf864d43
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