diff options
| author | bors <bors@rust-lang.org> | 2020-05-27 12:30:32 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-05-27 12:30:32 +0000 |
| commit | 2a2208fcc2517c7c607b9d0ccec8878cea7c87ee (patch) | |
| tree | 41ca2269f64fa7ffd603ddf682d8437be2b06ef0 | |
| parent | fca76de7cac7e116eb1a573888dc510c0820694c (diff) | |
| parent | 3089c3b3077fa8ae0b6f68c5f56650bf726e3298 (diff) | |
| download | rust-2a2208fcc2517c7c607b9d0ccec8878cea7c87ee.tar.gz rust-2a2208fcc2517c7c607b9d0ccec8878cea7c87ee.zip | |
Auto merge of #5653 - matthiaskrgr:rustup_47, r=flip1995
rustup https://github.com/rust-lang/rust/pull/72342, allow unused_crate_dependencies changelog: none
| -rw-r--r-- | tests/ui/cognitive_complexity.rs | 2 | ||||
| -rw-r--r-- | tests/ui/cognitive_complexity_attr_used.rs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/ui/cognitive_complexity.rs b/tests/ui/cognitive_complexity.rs index 1d3fe405521..912e6788afd 100644 --- a/tests/ui/cognitive_complexity.rs +++ b/tests/ui/cognitive_complexity.rs @@ -1,6 +1,6 @@ #![allow(clippy::all)] #![warn(clippy::cognitive_complexity)] -#![allow(unused)] +#![allow(unused, unused_crate_dependencies)] #[rustfmt::skip] fn main() { diff --git a/tests/ui/cognitive_complexity_attr_used.rs b/tests/ui/cognitive_complexity_attr_used.rs index 403eff566ed..771a26fc9a8 100644 --- a/tests/ui/cognitive_complexity_attr_used.rs +++ b/tests/ui/cognitive_complexity_attr_used.rs @@ -1,5 +1,5 @@ -#![warn(clippy::cognitive_complexity)] -#![warn(unused)] +#![warn(unused, clippy::cognitive_complexity)] +#![allow(unused_crate_dependencies)] fn main() { kaboom(); |
