Reword comments and rename HIR visiting methods.
This commit is contained in:
parent
c461f7a16e
commit
111df9e6ed
18 changed files with 113 additions and 105 deletions
|
@ -56,7 +56,7 @@ impl NonConstExpr {
|
|||
|
||||
fn check_mod_const_bodies(tcx: TyCtxt<'_>, module_def_id: LocalDefId) {
|
||||
let mut vis = CheckConstVisitor::new(tcx);
|
||||
tcx.hir().deep_visit_item_likes_in_module(module_def_id, &mut vis);
|
||||
tcx.hir().visit_item_likes_in_module(module_def_id, &mut vis);
|
||||
}
|
||||
|
||||
pub(crate) fn provide(providers: &mut Providers) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue