rustc_errors: only box the diagnostic
field in DiagnosticBuilder
.
This commit is contained in:
parent
7913f130d3
commit
3572c542c2
@ -315,7 +315,7 @@ fn build_diagnostic(level: DiagnosticLevel, span: Option<MultiSpan>) -> 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,
|
||||
|
Loading…
Reference in New Issue
Block a user