diff options
| author | Michael Wright <mikerite@lavabit.com> | 2019-09-03 06:26:49 +0200 |
|---|---|---|
| committer | Michael Wright <mikerite@lavabit.com> | 2019-09-03 06:26:49 +0200 |
| commit | 232dd43fe932db6db21e41007cd05dd490590fa0 (patch) | |
| tree | 786a7c418d67c3c4d3897014a35d051f75394962 /clippy_lints/src/utils | |
| parent | 0ae1a69330788c8a34228888909a4977d2fb7b17 (diff) | |
| download | rust-232dd43fe932db6db21e41007cd05dd490590fa0.tar.gz rust-232dd43fe932db6db21e41007cd05dd490590fa0.zip | |
Fix occurrences of `too_many_lines` violations
Diffstat (limited to 'clippy_lints/src/utils')
| -rw-r--r-- | clippy_lints/src/utils/inspector.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clippy_lints/src/utils/inspector.rs b/clippy_lints/src/utils/inspector.rs index b48ef7d293b..ba0e56c9987 100644 --- a/clippy_lints/src/utils/inspector.rs +++ b/clippy_lints/src/utils/inspector.rs @@ -144,6 +144,7 @@ fn has_attr(sess: &Session, attrs: &[Attribute]) -> bool { } #[allow(clippy::similar_names)] +#[allow(clippy::too_many_lines)] fn print_expr(cx: &LateContext<'_, '_>, expr: &hir::Expr, indent: usize) { let ind = " ".repeat(indent); println!("{}+", ind); @@ -396,6 +397,7 @@ fn print_item(cx: &LateContext<'_, '_>, item: &hir::Item) { } #[allow(clippy::similar_names)] +#[allow(clippy::too_many_lines)] fn print_pat(cx: &LateContext<'_, '_>, pat: &hir::Pat, indent: usize) { let ind = " ".repeat(indent); println!("{}+", ind); |
