Fix compilation issue after rebase
This commit is contained in:
parent
707c035e00
commit
b21e0b82c5
1 changed files with 3 additions and 0 deletions
|
@ -51,6 +51,9 @@ impl<'source> IntoDiagnosticArg for DiagnosticArgValue<'source> {
|
||||||
match self {
|
match self {
|
||||||
DiagnosticArgValue::Str(s) => DiagnosticArgValue::Str(Cow::Owned(s.into_owned())),
|
DiagnosticArgValue::Str(s) => DiagnosticArgValue::Str(Cow::Owned(s.into_owned())),
|
||||||
DiagnosticArgValue::Number(n) => DiagnosticArgValue::Number(n),
|
DiagnosticArgValue::Number(n) => DiagnosticArgValue::Number(n),
|
||||||
|
DiagnosticArgValue::StrListSepByAnd(l) => DiagnosticArgValue::StrListSepByAnd(
|
||||||
|
l.into_iter().map(|s| Cow::Owned(s.into_owned())).collect(),
|
||||||
|
),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue