Skip to content

Commit 4567b2b

Browse files
committed
Add #[expect(clippy::too_many_lines)]
1 parent 98f6c22 commit 4567b2b

File tree

1 file changed

+1
-0
lines changed
  • clippy_lints/src/matches

1 file changed

+1
-0
lines changed

clippy_lints/src/matches/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1019,6 +1019,7 @@ impl_lint_pass!(Matches => [
10191019
]);
10201020

10211021
impl<'tcx> LateLintPass<'tcx> for Matches {
1022+
#[expect(clippy::too_many_lines)]
10221023
fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) {
10231024
if is_direct_expn_of(expr.span, "matches").is_none() && in_external_macro(cx.sess(), expr.span) {
10241025
return;

0 commit comments

Comments
 (0)