Add ty::BoundConstness
This commit is contained in:
parent
c75aeaac0b
commit
80e1ee5aee
18 changed files with 80 additions and 80 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue