]> git.lizzy.rs Git - rust.git/blobdiff - src/tools/clippy/tests/ui/outer_expn_data.rs
Use `summary_opts()` in another spot
[rust.git] / src / tools / clippy / tests / ui / outer_expn_data.rs
index 5405d475d1accd4b1a49dd4bfea06bcf5464b3dc..55a3fed00d075dfa5a4d7360fa9b9f0a85ece34f 100644 (file)
@@ -19,8 +19,8 @@
 
 declare_lint_pass!(Pass => [TEST_LINT]);
 
-impl<'a, 'tcx> LateLintPass<'a, 'tcx> for Pass {
-    fn check_expr(&mut self, _cx: &LateContext<'a, 'tcx>, expr: &'tcx Expr) {
+impl<'tcx> LateLintPass<'tcx> for Pass {
+    fn check_expr(&mut self, _cx: &LateContext<'tcx>, expr: &'tcx Expr) {
         let _ = expr.span.ctxt().outer_expn().expn_data();
     }
 }