session: diagnostic migration lint on more fns
Apply the diagnostic migration lint to more functions on `Session`. Signed-off-by: David Wood <david.wood@huawei.com>
This commit is contained in:
@@ -1051,6 +1051,7 @@ impl Diagnostic {
|
||||
) -> (
|
||||
&Level,
|
||||
&[(DiagnosticMessage, Style)],
|
||||
Vec<(&Cow<'static, str>, &DiagnosticArgValue<'static>)>,
|
||||
&Option<DiagnosticId>,
|
||||
&MultiSpan,
|
||||
&Result<Vec<CodeSuggestion>, SuggestionsDisabled>,
|
||||
@@ -1059,6 +1060,7 @@ impl Diagnostic {
|
||||
(
|
||||
&self.level,
|
||||
&self.message,
|
||||
self.args().collect(),
|
||||
&self.code,
|
||||
&self.span,
|
||||
&self.suggestions,
|
||||
|
||||
Reference in New Issue
Block a user