1
Fork 0

Rollup merge of #79036 - cjgillot:steal, r=oli-obk

Move Steal to rustc_data_structures.
This commit is contained in:
Jonas Schievink 2020-11-15 13:39:59 +01:00 committed by GitHub
commit ce775bc4f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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);
}