]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc/lint/mod.rs
Fill in some missing parts in the default AST visitor
[rust.git] / src / librustc / lint / mod.rs
index b30ac7033b7bc1d55f2cc7ec79d5a8beb4d0c2d7..50695fb0c1702fa741ba414471d06c5b5fe0e35e 100644 (file)
@@ -199,11 +199,7 @@ fn check_struct_def_post(&mut self, _: &EarlyContext,
     fn check_struct_field(&mut self, _: &EarlyContext, _: &ast::StructField) { }
     fn check_variant(&mut self, _: &EarlyContext, _: &ast::Variant, _: &ast::Generics) { }
     fn check_variant_post(&mut self, _: &EarlyContext, _: &ast::Variant, _: &ast::Generics) { }
-    fn check_opt_lifetime_ref(&mut self,
-                              _: &EarlyContext,
-                              _: Span,
-                              _: &Option<ast::Lifetime>) { }
-    fn check_lifetime_ref(&mut self, _: &EarlyContext, _: &ast::Lifetime) { }
+    fn check_lifetime(&mut self, _: &EarlyContext, _: &ast::Lifetime) { }
     fn check_lifetime_def(&mut self, _: &EarlyContext, _: &ast::LifetimeDef) { }
     fn check_explicit_self(&mut self, _: &EarlyContext, _: &ast::ExplicitSelf) { }
     fn check_path(&mut self, _: &EarlyContext, _: &ast::Path, _: ast::NodeId) { }