Reword comments and rename HIR visiting methods.

This commit is contained in:
Camille GILLOT
2022-07-03 15:28:57 +02:00
parent c461f7a16e
commit 111df9e6ed
18 changed files with 113 additions and 105 deletions

View File

@@ -140,7 +140,7 @@ fn live_node_kind_to_string(lnk: LiveNodeKind, tcx: TyCtxt<'_>) -> String {
}
fn check_mod_liveness(tcx: TyCtxt<'_>, module_def_id: LocalDefId) {
tcx.hir().deep_visit_item_likes_in_module(module_def_id, &mut IrMaps::new(tcx));
tcx.hir().visit_item_likes_in_module(module_def_id, &mut IrMaps::new(tcx));
}
pub fn provide(providers: &mut Providers) {