Add missing Diag::with_span_suggestion_with_style method

This commit is contained in:
Guillaume Gomez
2026-03-09 12:12:30 +01:00
parent 2d76d9bc76
commit 744c50315d
+2 -1
View File
@@ -934,6 +934,7 @@ pub fn span_suggestion(
self
} }
with_fn! { with_span_suggestion_with_style,
/// [`Diag::span_suggestion()`] but you can set the [`SuggestionStyle`].
pub fn span_suggestion_with_style(
&mut self,
@@ -956,7 +957,7 @@ pub fn span_suggestion_with_style(
applicability,
});
self
}
} }
with_fn! { with_span_suggestion_verbose,
/// Always show the suggested change.