diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-18 02:49:50 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-18 02:49:50 +0000 |
commit | 9835e2ae736235810b4ea1c162ca5e65c547e770 (patch) | |
tree | 3fcebf40ed70e581d776a8a4c65923e8ec20e026 /vendor/anyhow/tests | |
parent | Releasing progress-linux version 1.70.0+dfsg2-1~progress7.99u1. (diff) | |
download | rustc-9835e2ae736235810b4ea1c162ca5e65c547e770.tar.xz rustc-9835e2ae736235810b4ea1c162ca5e65c547e770.zip |
Merging upstream version 1.71.1+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/anyhow/tests')
-rw-r--r-- | vendor/anyhow/tests/test_autotrait.rs | 2 | ||||
-rw-r--r-- | vendor/anyhow/tests/test_backtrace.rs | 2 | ||||
-rw-r--r-- | vendor/anyhow/tests/test_chain.rs | 1 | ||||
-rw-r--r-- | vendor/anyhow/tests/test_ensure.rs | 2 | ||||
-rw-r--r-- | vendor/anyhow/tests/test_repr.rs | 2 |
5 files changed, 9 insertions, 0 deletions
diff --git a/vendor/anyhow/tests/test_autotrait.rs b/vendor/anyhow/tests/test_autotrait.rs index 0c9326dad..94d7a5984 100644 --- a/vendor/anyhow/tests/test_autotrait.rs +++ b/vendor/anyhow/tests/test_autotrait.rs @@ -1,3 +1,5 @@ +#![allow(clippy::extra_unused_type_parameters)] + use anyhow::Error; #[test] diff --git a/vendor/anyhow/tests/test_backtrace.rs b/vendor/anyhow/tests/test_backtrace.rs index ce385f501..c89559e67 100644 --- a/vendor/anyhow/tests/test_backtrace.rs +++ b/vendor/anyhow/tests/test_backtrace.rs @@ -1,3 +1,5 @@ +#![allow(clippy::let_underscore_untyped)] + #[rustversion::not(nightly)] #[ignore] #[test] diff --git a/vendor/anyhow/tests/test_chain.rs b/vendor/anyhow/tests/test_chain.rs index 47d98afe2..c8b901ab4 100644 --- a/vendor/anyhow/tests/test_chain.rs +++ b/vendor/anyhow/tests/test_chain.rs @@ -56,6 +56,7 @@ fn test_default() { } #[test] +#[allow(clippy::redundant_clone)] fn test_clone() { let e = error(); let mut chain = e.chain().clone(); diff --git a/vendor/anyhow/tests/test_ensure.rs b/vendor/anyhow/tests/test_ensure.rs index de867f7fe..0814832ae 100644 --- a/vendor/anyhow/tests/test_ensure.rs +++ b/vendor/anyhow/tests/test_ensure.rs @@ -1,10 +1,12 @@ #![allow( clippy::bool_to_int_with_if, clippy::diverging_sub_expression, + clippy::extra_unused_type_parameters, clippy::if_same_then_else, clippy::ifs_same_cond, clippy::items_after_statements, clippy::let_and_return, + clippy::let_underscore_untyped, clippy::match_bool, clippy::never_loop, clippy::overly_complex_bool_expr, diff --git a/vendor/anyhow/tests/test_repr.rs b/vendor/anyhow/tests/test_repr.rs index 72f5002ae..065041c5a 100644 --- a/vendor/anyhow/tests/test_repr.rs +++ b/vendor/anyhow/tests/test_repr.rs @@ -1,3 +1,5 @@ +#![allow(clippy::extra_unused_type_parameters)] + mod drop; use self::drop::{DetectDrop, Flag}; |