Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 3572c54

Browse files
committed
rustc_errors: only box the diagnostic field in DiagnosticBuilder.
1 parent 7913f13 commit 3572c54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/parse/session.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ mod tests {
315315
code: None,
316316
message: vec![],
317317
children: vec![],
318-
suggestions: vec![],
318+
suggestions: Ok(vec![]),
319319
span: span.unwrap_or_else(MultiSpan::new),
320320
sort_span: DUMMY_SP,
321321
is_lint: false,

0 commit comments

Comments
 (0)