diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2022-01-14 12:25:49 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2022-01-14 13:09:57 +0300 |
commit | ab14c50d1cd165982007e1bf4ff49c9a242f2494 (patch) | |
tree | 2e74ae9bab33f91d2d41b4c567e90fcc74ac42d3 /net | |
parent | 3cc2b3275671b3ca66818fd5765f721914711696 (diff) |
Ignore `clippy::non_send_fields_in_send_ty` lint
It's useless in its current shape and wrongly triggering on all types.
See https://github.com/rust-lang/rust-clippy/issues/8045
Diffstat (limited to 'net')
-rw-r--r-- | net/hlssink3/src/lib.rs | 1 | ||||
-rw-r--r-- | net/reqwest/src/lib.rs | 1 | ||||
-rw-r--r-- | net/reqwest/tests/reqwesthttpsrc.rs | 1 | ||||
-rw-r--r-- | net/rusoto/src/lib.rs | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/net/hlssink3/src/lib.rs b/net/hlssink3/src/lib.rs index f5784988..c30425f9 100644 --- a/net/hlssink3/src/lib.rs +++ b/net/hlssink3/src/lib.rs @@ -6,6 +6,7 @@ // <https://mozilla.org/MPL/2.0/>. // // SPDX-License-Identifier: MPL-2.0 +#![allow(clippy::non_send_fields_in_send_ty)] use glib::prelude::*; diff --git a/net/reqwest/src/lib.rs b/net/reqwest/src/lib.rs index 915c62ea..e5d41728 100644 --- a/net/reqwest/src/lib.rs +++ b/net/reqwest/src/lib.rs @@ -5,6 +5,7 @@ // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your // option. This file may not be copied, modified, or distributed // except according to those terms. +#![allow(clippy::non_send_fields_in_send_ty)] use gst::glib; diff --git a/net/reqwest/tests/reqwesthttpsrc.rs b/net/reqwest/tests/reqwesthttpsrc.rs index b42f0e51..1d4a5141 100644 --- a/net/reqwest/tests/reqwesthttpsrc.rs +++ b/net/reqwest/tests/reqwesthttpsrc.rs @@ -35,6 +35,7 @@ struct Harness { } /// Messages sent from our test harness +#[allow(clippy::enum_variant_names)] #[derive(Debug, Clone)] enum Message { Buffer(gst::Buffer), diff --git a/net/rusoto/src/lib.rs b/net/rusoto/src/lib.rs index f7da3c04..087c57e5 100644 --- a/net/rusoto/src/lib.rs +++ b/net/rusoto/src/lib.rs @@ -5,6 +5,7 @@ // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your // option. This file may not be copied, modified, or distributed // except according to those terms. +#![allow(clippy::non_send_fields_in_send_ty)] use gst::glib; |