Compute lint_levels
by definition
This commit is contained in:
parent
c97922dca5
commit
eb19a8a620
13 changed files with 482 additions and 332 deletions
|
@ -59,6 +59,7 @@ impl<'a, T: EarlyLintPass> EarlyContextAndPass<'a, T> {
|
|||
F: FnOnce(&mut Self),
|
||||
{
|
||||
let is_crate_node = id == ast::CRATE_NODE_ID;
|
||||
debug!(?id);
|
||||
let push = self.context.builder.push(attrs, is_crate_node, None);
|
||||
|
||||
self.check_id(id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue