Introduce check_stmt

This commit is contained in:
Zaki Manian 2017-09-02 12:20:43 -07:00
parent a25a172e60
commit 9e3be6ae49

View File

@ -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!();
}
}
}