Uplift ClosureKind
This commit is contained in:
parent
835ed0021e
commit
b8ea6e686f
7 changed files with 107 additions and 76 deletions
|
@ -378,3 +378,9 @@ pub struct IndicateAnonymousLifetime {
|
|||
pub count: usize,
|
||||
pub suggestion: String,
|
||||
}
|
||||
|
||||
impl IntoDiagnosticArg for type_ir::ClosureKind {
|
||||
fn into_diagnostic_arg(self) -> DiagnosticArgValue<'static> {
|
||||
DiagnosticArgValue::Str(self.as_str().into())
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue