@@ -161,9 +161,6 @@ pub trait LateLintPass: LintPass {
161161 fn check_lifetime_ref ( & mut self , _: & LateContext , _: & hir:: Lifetime ) { }
162162 fn check_lifetime_def ( & mut self , _: & LateContext , _: & hir:: LifetimeDef ) { }
163163 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 ) { }
167164 fn check_path ( & mut self , _: & LateContext , _: & hir:: Path , _: ast:: NodeId ) { }
168165 fn check_attribute ( & mut self , _: & LateContext , _: & ast:: Attribute ) { }
169166
@@ -209,7 +206,6 @@ pub trait EarlyLintPass: LintPass {
209206 fn check_lifetime_ref ( & mut self , _: & EarlyContext , _: & ast:: Lifetime ) { }
210207 fn check_lifetime_def ( & mut self , _: & EarlyContext , _: & ast:: LifetimeDef ) { }
211208 fn check_explicit_self ( & mut self , _: & EarlyContext , _: & ast:: ExplicitSelf ) { }
212- fn check_mac ( & mut self , _: & EarlyContext , _: & ast:: Mac ) { }
213209 fn check_path ( & mut self , _: & EarlyContext , _: & ast:: Path , _: ast:: NodeId ) { }
214210 fn check_attribute ( & mut self , _: & EarlyContext , _: & ast:: Attribute ) { }
215211
0 commit comments