Skip to content

Commit

Permalink
rustc_errors: only box the diagnostic field in DiagnosticBuilder.
Browse files Browse the repository at this point in the history
  • Loading branch information
eddyb committed Jan 24, 2022
1 parent 7913f13 commit 3572c54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parse/session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ mod tests {
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,
Expand Down

0 comments on commit 3572c54

Please sign in to comment.