WithOptConstParam::dummy -> WithOptConstParam::unknown
This commit is contained in:
parent
8003ccfdcd
commit
aca66bd052
12 changed files with 21 additions and 20 deletions
|
|
@ -892,7 +892,7 @@ fn analysis(tcx: TyCtxt<'_>, cnum: CrateNum) -> Result<()> {
|
|||
|
||||
if tcx.hir().body_const_context(def_id).is_some() {
|
||||
tcx.ensure()
|
||||
.mir_drops_elaborated_and_const_checked(ty::WithOptConstParam::dummy(def_id));
|
||||
.mir_drops_elaborated_and_const_checked(ty::WithOptConstParam::unknown(def_id));
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue