1
Fork 0

Make impl_trait_ref into a query also returning more information about the impl

This commit is contained in:
Oli Scherer 2024-02-10 21:26:48 +00:00
parent de4d615e6b
commit 916951efcc
9 changed files with 48 additions and 40 deletions

View file

@ -177,8 +177,9 @@ impl EraseType for Option<mir::DestructuredConstant<'_>> {
type Result = [u8; size_of::<Option<mir::DestructuredConstant<'static>>>()];
}
impl EraseType for Option<ty::EarlyBinder<ty::TraitRef<'_>>> {
type Result = [u8; size_of::<Option<ty::EarlyBinder<ty::TraitRef<'static>>>>()];
impl EraseType for Option<(ty::EarlyBinder<ty::TraitRef<'_>>, ty::ImplPolarity)> {
type Result =
[u8; size_of::<Option<(ty::EarlyBinder<ty::TraitRef<'static>>, ty::ImplPolarity)>>()];
}
impl EraseType for Option<ty::EarlyBinder<Ty<'_>>> {