Skip to content

Commit

Permalink
Auto merge of #5653 - matthiaskrgr:rustup_47, r=flip1995
Browse files Browse the repository at this point in the history
rustup rust-lang/rust#72342, allow unused_crate_dependencies

changelog: none
  • Loading branch information
bors committed May 27, 2020
2 parents fca76de + 3089c3b commit 2a2208f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/ui/cognitive_complexity.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#![allow(clippy::all)]
#![warn(clippy::cognitive_complexity)]
#![allow(unused)]
#![allow(unused, unused_crate_dependencies)]

#[rustfmt::skip]
fn main() {
Expand Down
4 changes: 2 additions & 2 deletions tests/ui/cognitive_complexity_attr_used.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#![warn(clippy::cognitive_complexity)]
#![warn(unused)]
#![warn(unused, clippy::cognitive_complexity)]
#![allow(unused_crate_dependencies)]

fn main() {
kaboom();
Expand Down

0 comments on commit 2a2208f

Please sign in to comment.