Skip to content

Commit 2456b35

Browse files
committed
Run rustfmt
1 parent f74d9db commit 2456b35

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

clippy_lints/src/utils/internal_lints.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -180,10 +180,7 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for LintWithoutLintPass {
180180
// not able to capture the error.
181181
// Therefore, we need to climb the macro expansion tree and find the
182182
// actual span that invoked `declare_tool_lint!`:
183-
let lint_span = lint_span
184-
.ctxt()
185-
.outer_expn_data()
186-
.call_site;
183+
let lint_span = lint_span.ctxt().outer_expn_data().call_site;
187184

188185
if !self.registered_lints.contains(lint_name) {
189186
span_lint(

0 commit comments

Comments
 (0)