diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d148c9e1..89b756d1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -212,7 +212,7 @@ jobs: fail-fast: false matrix: rust-version: [ - 1.70.0, # current stable + 1.71.0, # current stable beta ] steps: diff --git a/muxers/mplex/src/lib.rs b/muxers/mplex/src/lib.rs index 7aa665d7..81c5147a 100644 --- a/muxers/mplex/src/lib.rs +++ b/muxers/mplex/src/lib.rs @@ -55,7 +55,7 @@ where fn upgrade_inbound(self, socket: C, _: Self::Info) -> Self::Future { future::ready(Ok(Multiplex { - #[allow(clippy::arc_with_non_send_sync)] // `T` is not enforced to be `Send` but we don't want to constrain it either. + #[allow(unknown_lints, clippy::arc_with_non_send_sync)] // `T` is not enforced to be `Send` but we don't want to constrain it either. io: Arc::new(Mutex::new(io::Multiplexed::new(socket, self))), })) } @@ -71,7 +71,7 @@ where fn upgrade_outbound(self, socket: C, _: Self::Info) -> Self::Future { future::ready(Ok(Multiplex { - #[allow(clippy::arc_with_non_send_sync)] // `T` is not enforced to be `Send` but we don't want to constrain it either. + #[allow(unknown_lints, clippy::arc_with_non_send_sync)] // `T` is not enforced to be `Send` but we don't want to constrain it either. io: Arc::new(Mutex::new(io::Multiplexed::new(socket, self))), })) }