fmt
This commit is contained in:
parent
580ca930ac
commit
f3d96e9391
4 changed files with 42 additions and 30 deletions
|
@ -778,7 +778,10 @@ pub fn vtable_trait_upcasting_coercion_new_vptr_slot(
|
|||
let obligation = Obligation::new(
|
||||
ObligationCause::dummy(),
|
||||
ty::ParamEnv::reveal_all(),
|
||||
ty::Binder::dummy(ty::TraitPredicate { trait_ref, constness: ty::BoundConstness::NotConst }),
|
||||
ty::Binder::dummy(ty::TraitPredicate {
|
||||
trait_ref,
|
||||
constness: ty::BoundConstness::NotConst,
|
||||
}),
|
||||
);
|
||||
|
||||
let implsrc = tcx.infer_ctxt().enter(|infcx| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue