提交 a270b7b2 编写于 作者: L llogiq

fix double check_item

上级 d483a6e2
......@@ -920,7 +920,7 @@ fn visit_item(&mut self, it: &ast::Item) {
run_lints!(cx, check_item, early_passes, it);
cx.visit_ids(|v| v.visit_item(it));
ast_visit::walk_item(cx, it);
run_lints!(cx, check_item, early_passes, it);
run_lints!(cx, check_item_post, early_passes, it);
})
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册