@@ -132,11 +132,13 @@ pub trait LintPass {
132132pub trait LateLintPass : LintPass {
133133 fn check_name ( & mut self , _: & LateContext , _: Span , _: ast:: Name ) { }
134134 fn check_crate ( & mut self , _: & LateContext , _: & hir:: Crate ) { }
135+ fn check_crate_post ( & mut self , _: & LateContext , _: & hir:: Crate ) { }
135136 fn check_mod ( & mut self , _: & LateContext , _: & hir:: Mod , _: Span , _: ast:: NodeId ) { }
136137 fn check_foreign_item ( & mut self , _: & LateContext , _: & hir:: ForeignItem ) { }
137138 fn check_item ( & mut self , _: & LateContext , _: & hir:: Item ) { }
138139 fn check_local ( & mut self , _: & LateContext , _: & hir:: Local ) { }
139140 fn check_block ( & mut self , _: & LateContext , _: & hir:: Block ) { }
141+ fn check_block_post ( & mut self , _: & LateContext , _: & hir:: Block ) { }
140142 fn check_stmt ( & mut self , _: & LateContext , _: & hir:: Stmt ) { }
141143 fn check_arm ( & mut self , _: & LateContext , _: & hir:: Arm ) { }
142144 fn check_pat ( & mut self , _: & LateContext , _: & hir:: Pat ) { }
@@ -174,11 +176,13 @@ pub trait LateLintPass: LintPass {
174176pub trait EarlyLintPass : LintPass {
175177 fn check_ident ( & mut self , _: & EarlyContext , _: Span , _: ast:: Ident ) { }
176178 fn check_crate ( & mut self , _: & EarlyContext , _: & ast:: Crate ) { }
179+ fn check_crate_post ( & mut self , _: & EarlyContext , _: & ast:: Crate ) { }
177180 fn check_mod ( & mut self , _: & EarlyContext , _: & ast:: Mod , _: Span , _: ast:: NodeId ) { }
178181 fn check_foreign_item ( & mut self , _: & EarlyContext , _: & ast:: ForeignItem ) { }
179182 fn check_item ( & mut self , _: & EarlyContext , _: & ast:: Item ) { }
180183 fn check_local ( & mut self , _: & EarlyContext , _: & ast:: Local ) { }
181184 fn check_block ( & mut self , _: & EarlyContext , _: & ast:: Block ) { }
185+ fn check_block_post ( & mut self , _: & EarlyContext , _: & ast:: Block ) { }
182186 fn check_stmt ( & mut self , _: & EarlyContext , _: & ast:: Stmt ) { }
183187 fn check_arm ( & mut self , _: & EarlyContext , _: & ast:: Arm ) { }
184188 fn check_pat ( & mut self , _: & EarlyContext , _: & ast:: Pat ) { }
0 commit comments