Skip to content

Commit ecaf5f7

Browse files
committed
Fix compilation issue after rebase
1 parent 4c24176 commit ecaf5f7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

compiler/rustc_errors/src/diagnostic.rs

+3
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ impl<'source> IntoDiagnosticArg for DiagnosticArgValue<'source> {
5151
match self {
5252
DiagnosticArgValue::Str(s) => DiagnosticArgValue::Str(Cow::Owned(s.into_owned())),
5353
DiagnosticArgValue::Number(n) => DiagnosticArgValue::Number(n),
54+
DiagnosticArgValue::StrListSepByAnd(l) => DiagnosticArgValue::StrListSepByAnd(
55+
l.into_iter().map(|s| Cow::Owned(s.into_owned())).collect(),
56+
),
5457
}
5558
}
5659
}

0 commit comments

Comments
 (0)