@@ -161,9 +161,6 @@ pub trait LateLintPass: LintPass {
161
161
fn check_lifetime_ref ( & mut self , _: & LateContext , _: & hir:: Lifetime ) { }
162
162
fn check_lifetime_def ( & mut self , _: & LateContext , _: & hir:: LifetimeDef ) { }
163
163
fn check_explicit_self ( & mut self , _: & LateContext , _: & hir:: ExplicitSelf ) { }
164
- // Note that you shouldn't implement both check_mac and check_ast_mac,
165
- // because then your lint will be called twice. Prefer check_ast_mac.
166
- fn check_mac ( & mut self , _: & LateContext , _: & ast:: Mac ) { }
167
164
fn check_path ( & mut self , _: & LateContext , _: & hir:: Path , _: ast:: NodeId ) { }
168
165
fn check_attribute ( & mut self , _: & LateContext , _: & ast:: Attribute ) { }
169
166
@@ -209,7 +206,6 @@ pub trait EarlyLintPass: LintPass {
209
206
fn check_lifetime_ref ( & mut self , _: & EarlyContext , _: & ast:: Lifetime ) { }
210
207
fn check_lifetime_def ( & mut self , _: & EarlyContext , _: & ast:: LifetimeDef ) { }
211
208
fn check_explicit_self ( & mut self , _: & EarlyContext , _: & ast:: ExplicitSelf ) { }
212
- fn check_mac ( & mut self , _: & EarlyContext , _: & ast:: Mac ) { }
213
209
fn check_path ( & mut self , _: & EarlyContext , _: & ast:: Path , _: ast:: NodeId ) { }
214
210
fn check_attribute ( & mut self , _: & EarlyContext , _: & ast:: Attribute ) { }
215
211
0 commit comments