Introduce check_stmt
This commit is contained in:
parent
a25a172e60
commit
9e3be6ae49
@ -44,4 +44,10 @@ impl EarlyLintPass for UnitExpr {
|
||||
unimplemented!();
|
||||
}
|
||||
}
|
||||
|
||||
fn check_stmt(&mut self, cx: &EarlyContext, stmt: &Stmt) {
|
||||
if let StmtKind::Local(ref data) = stmt.node{
|
||||
unimplemented!();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user