Move Steal to rustc_data_structures.
This commit is contained in:
parent
cf9cf7c923
commit
41c44b498f
11 changed files with 18 additions and 20 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue