1
Fork 0

Move Steal to rustc_data_structures.

This commit is contained in:
Camille GILLOT 2020-11-14 01:29:30 +01:00
parent cf9cf7c923
commit 41c44b498f
11 changed files with 18 additions and 20 deletions

View file

@ -24,7 +24,7 @@ use super::lints;
crate fn mir_built<'tcx>(
tcx: TyCtxt<'tcx>,
def: ty::WithOptConstParam<LocalDefId>,
) -> &'tcx ty::steal::Steal<Body<'tcx>> {
) -> &'tcx rustc_data_structures::steal::Steal<Body<'tcx>> {
if let Some(def) = def.try_upgrade(tcx) {
return tcx.mir_built(def);
}