mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-17 06:26:55 +00:00
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…
Reference in New Issue
Block a user