Skip to content

Commit

Permalink
rustup rust-lang/rust#72342, allow unused_crate_dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiaskrgr committed May 27, 2020
1 parent fca76de commit 3089c3b
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 3089c3b

Please sign in to comment.