@@ -132,11 +132,13 @@ pub trait LintPass {
132
132
pub trait LateLintPass : LintPass {
133
133
fn check_name ( & mut self , _: & LateContext , _: Span , _: ast:: Name ) { }
134
134
fn check_crate ( & mut self , _: & LateContext , _: & hir:: Crate ) { }
135
+ fn check_crate_post ( & mut self , _: & LateContext , _: & hir:: Crate ) { }
135
136
fn check_mod ( & mut self , _: & LateContext , _: & hir:: Mod , _: Span , _: ast:: NodeId ) { }
136
137
fn check_foreign_item ( & mut self , _: & LateContext , _: & hir:: ForeignItem ) { }
137
138
fn check_item ( & mut self , _: & LateContext , _: & hir:: Item ) { }
138
139
fn check_local ( & mut self , _: & LateContext , _: & hir:: Local ) { }
139
140
fn check_block ( & mut self , _: & LateContext , _: & hir:: Block ) { }
141
+ fn check_block_post ( & mut self , _: & LateContext , _: & hir:: Block ) { }
140
142
fn check_stmt ( & mut self , _: & LateContext , _: & hir:: Stmt ) { }
141
143
fn check_arm ( & mut self , _: & LateContext , _: & hir:: Arm ) { }
142
144
fn check_pat ( & mut self , _: & LateContext , _: & hir:: Pat ) { }
@@ -174,11 +176,13 @@ pub trait LateLintPass: LintPass {
174
176
pub trait EarlyLintPass : LintPass {
175
177
fn check_ident ( & mut self , _: & EarlyContext , _: Span , _: ast:: Ident ) { }
176
178
fn check_crate ( & mut self , _: & EarlyContext , _: & ast:: Crate ) { }
179
+ fn check_crate_post ( & mut self , _: & EarlyContext , _: & ast:: Crate ) { }
177
180
fn check_mod ( & mut self , _: & EarlyContext , _: & ast:: Mod , _: Span , _: ast:: NodeId ) { }
178
181
fn check_foreign_item ( & mut self , _: & EarlyContext , _: & ast:: ForeignItem ) { }
179
182
fn check_item ( & mut self , _: & EarlyContext , _: & ast:: Item ) { }
180
183
fn check_local ( & mut self , _: & EarlyContext , _: & ast:: Local ) { }
181
184
fn check_block ( & mut self , _: & EarlyContext , _: & ast:: Block ) { }
185
+ fn check_block_post ( & mut self , _: & EarlyContext , _: & ast:: Block ) { }
182
186
fn check_stmt ( & mut self , _: & EarlyContext , _: & ast:: Stmt ) { }
183
187
fn check_arm ( & mut self , _: & EarlyContext , _: & ast:: Arm ) { }
184
188
fn check_pat ( & mut self , _: & EarlyContext , _: & ast:: Pat ) { }
0 commit comments