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

@ -285,7 +285,7 @@ impl AutoTraitFinder<'tcx> {
def_id: trait_did,
substs: infcx.tcx.mk_substs_trait(ty, &[]),
},
constness: hir::Constness::NotConst,
constness: ty::BoundConstness::NotConst,
}));
let computed_preds = param_env.caller_bounds().iter();