]> git.lizzy.rs Git - rust.git/blobdiff - src/tools/clippy/tests/ui/outer_expn_data.fixed
Use `summary_opts()` in another spot
[rust.git] / src / tools / clippy / tests / ui / outer_expn_data.fixed
index 999a19b289e1816c3ec20af42aa8dc39fa3bbd23..b0b3498f057f7f7d05eb87124c4acb68a45aa7e6 100644 (file)
@@ -19,8 +19,8 @@ declare_lint! {
 
 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_data();
     }
 }