Use ensure_with_value in a few more places.
This commit is contained in:
parent
382cc909d5
commit
e955ec0908
3 changed files with 7 additions and 6 deletions
|
@ -444,7 +444,7 @@ fn mir_drops_elaborated_and_const_checked(
|
|||
|
||||
// Do not compute the mir call graph without said call graph actually being used.
|
||||
if inline::Inline.is_enabled(&tcx.sess) {
|
||||
let _ = tcx.mir_inliner_callees(ty::InstanceDef::Item(def));
|
||||
tcx.ensure_with_value().mir_inliner_callees(ty::InstanceDef::Item(def));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue