Remove TyCtxt::hir_krate
.
It's a trivial wrapper around the `hir_crate` query with a small number of uses.
This commit is contained in:
parent
661f99ba03
commit
f666361caa
3 changed files with 3 additions and 9 deletions
|
@ -294,7 +294,7 @@ pub fn print<'tcx>(sess: &Session, ppm: PpMode, ex: PrintExtra<'tcx>) {
|
|||
}
|
||||
HirTree => {
|
||||
debug!("pretty printing HIR tree");
|
||||
format!("{:#?}", ex.tcx().hir_krate())
|
||||
format!("{:#?}", ex.tcx().hir_crate(()))
|
||||
}
|
||||
Mir => {
|
||||
let mut out = Vec::new();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue