summaryrefslogtreecommitdiffstats
path: root/vendor/thiserror-impl/src/generics.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/thiserror-impl/src/generics.rs')
-rw-r--r--vendor/thiserror-impl/src/generics.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/vendor/thiserror-impl/src/generics.rs b/vendor/thiserror-impl/src/generics.rs
index 254c2ed35..95592a737 100644
--- a/vendor/thiserror-impl/src/generics.rs
+++ b/vendor/thiserror-impl/src/generics.rs
@@ -57,6 +57,7 @@ impl InferredBounds {
}
}
+ #[allow(clippy::type_repetition_in_bounds, clippy::trait_duplication_in_bounds)] // clippy bug: https://github.com/rust-lang/rust-clippy/issues/8771
pub fn insert(&mut self, ty: impl ToTokens, bound: impl ToTokens) {
let ty = ty.to_token_stream();
let bound = bound.to_token_stream();