Skip to content

Commit a270b7b

Browse files
committed
fix double check_item
1 parent d483a6e commit a270b7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/lint/context.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -920,7 +920,7 @@ impl<'a, 'v> ast_visit::Visitor<'v> for EarlyContext<'a> {
920920
run_lints!(cx, check_item, early_passes, it);
921921
cx.visit_ids(|v| v.visit_item(it));
922922
ast_visit::walk_item(cx, it);
923-
run_lints!(cx, check_item, early_passes, it);
923+
run_lints!(cx, check_item_post, early_passes, it);
924924
})
925925
}
926926

0 commit comments

Comments
 (0)