Uplift ExistentialTraitRef
, ExistentialProjection
, ProjectionPredicate
This commit is contained in:
parent
204cde4564
commit
0d4dca2b82
12 changed files with 427 additions and 324 deletions
|
@ -100,6 +100,14 @@ impl<I: rustc_type_ir::Interner> IntoDiagArg for rustc_type_ir::TraitRef<I> {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
impl<I: rustc_type_ir::Interner> IntoDiagArg for rustc_type_ir::ExistentialTraitRef<I> {
|
||||
fn into_diag_arg(self) -> DiagArgValue {
|
||||
self.to_string().into_diag_arg()
|
||||
}
|
||||
}
|
||||
|
||||
into_diag_arg_for_number!(i8, u8, i16, u16, i32, u32, i64, u64, i128, u128, isize, usize);
|
||||
|
||||
impl IntoDiagArg for bool {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue