Add ty::BoundConstness

This commit is contained in:
Deadbeef 2021-08-27 05:02:23 +00:00
parent c75aeaac0b
commit 80e1ee5aee
No known key found for this signature in database
GPG key ID: 027DF9338862ADDD
18 changed files with 80 additions and 80 deletions

View file

@ -778,7 +778,7 @@ 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: hir::Constness::NotConst }),
ty::Binder::dummy(ty::TraitPredicate { trait_ref, constness: ty::BoundConstness::NotConst }),
);
let implsrc = tcx.infer_ctxt().enter(|infcx| {