Move body_owners to tcx.hir().

This commit is contained in:
Camille GILLOT 2021-09-12 11:33:16 +02:00
parent db9fea508a
commit abc57f63ad
7 changed files with 18 additions and 25 deletions

View file

@ -489,7 +489,7 @@ fn print_with_analysis(
let mut out = String::new();
abort_on_err(rustc_typeck::check_crate(tcx), tcx.sess);
debug!("pretty printing THIR tree");
for did in tcx.body_owners() {
for did in tcx.hir().body_owners() {
let _ = writeln!(
out,
"{:?}:\n{}\n",