diff --git a/src/parse/session.rs b/src/parse/session.rs index 624fed0d2de..7fc3778376c 100644 --- a/src/parse/session.rs +++ b/src/parse/session.rs @@ -315,7 +315,7 @@ fn build_diagnostic(level: DiagnosticLevel, span: Option) -> Diagnost code: None, message: vec![], children: vec![], - suggestions: vec![], + suggestions: Ok(vec![]), span: span.unwrap_or_else(MultiSpan::new), sort_span: DUMMY_SP, is_lint: false,