Skip to content

Commit

Permalink
Suppress clippy lints exposed by spans fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Nov 22, 2021
1 parent 34df4cc commit c5068a8
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/test_ensure.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
#![allow(
clippy::diverging_sub_expression,
clippy::if_same_then_else,
clippy::ifs_same_cond,
clippy::let_and_return,
clippy::let_underscore_drop,
clippy::match_bool,
clippy::never_loop,
clippy::unit_arg
clippy::redundant_closure_call,
clippy::redundant_pattern_matching,
clippy::unit_arg,
clippy::while_immutable_condition
)]

use anyhow::{anyhow, ensure, Chain, Error, Result};
Expand Down

0 comments on commit c5068a8

Please sign in to comment.