Rename walk_crate.

This commit is contained in:
Camille GILLOT
2021-09-02 19:22:24 +02:00
parent df148e4efb
commit d119a13137
11 changed files with 14 additions and 14 deletions

View File

@@ -37,7 +37,7 @@ fn lint_levels(tcx: TyCtxt<'_>, (): ()) -> LintLevelMap {
let push = builder.levels.push(tcx.hir().attrs(hir::CRATE_HIR_ID), &store, true);
builder.levels.register_id(hir::CRATE_HIR_ID);
tcx.hir().walk_crate(&mut builder);
tcx.hir().walk_toplevel_module(&mut builder);
builder.levels.pop(push);
builder.levels.build_map()