From 7b03c627948ecc44a9bf6d61693fe778314d9146 Mon Sep 17 00:00:00 2001
From: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
Date: Thu, 23 Nov 2023 14:39:23 +0100
Subject: [PATCH] fix CI for recent rustc

---
 src/collections/mod.rs | 7 +++++++
 src/option/mod.rs      | 1 +
 src/result/mod.rs      | 1 +
 src/string/mod.rs      | 1 +
 src/sync/waker_set.rs  | 2 +-
 src/vec/mod.rs         | 1 +
 6 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/src/collections/mod.rs b/src/collections/mod.rs
index ae9efaa92..745aed01c 100644
--- a/src/collections/mod.rs
+++ b/src/collections/mod.rs
@@ -11,10 +11,17 @@ pub mod hash_set;
 pub mod linked_list;
 pub mod vec_deque;
 
+#[allow(unused)]
 pub use binary_heap::BinaryHeap;
+#[allow(unused)]
 pub use btree_map::BTreeMap;
+#[allow(unused)]
 pub use btree_set::BTreeSet;
+#[allow(unused)]
 pub use hash_map::HashMap;
+#[allow(unused)]
 pub use hash_set::HashSet;
+#[allow(unused)]
 pub use linked_list::LinkedList;
+#[allow(unused)]
 pub use vec_deque::VecDeque;
diff --git a/src/option/mod.rs b/src/option/mod.rs
index 76f096b3f..f0d67b77b 100644
--- a/src/option/mod.rs
+++ b/src/option/mod.rs
@@ -5,6 +5,7 @@
 
 mod from_stream;
 
+#[allow(unused)]
 #[doc(inline)]
 pub use std::option::Option;
 
diff --git a/src/result/mod.rs b/src/result/mod.rs
index cae0ebd93..fc263318b 100644
--- a/src/result/mod.rs
+++ b/src/result/mod.rs
@@ -5,6 +5,7 @@
 
 mod from_stream;
 
+#[allow(unused)]
 #[doc(inline)]
 pub use std::result::Result;
 
diff --git a/src/string/mod.rs b/src/string/mod.rs
index e382fcf2c..3f6141fa3 100644
--- a/src/string/mod.rs
+++ b/src/string/mod.rs
@@ -5,5 +5,6 @@
 mod extend;
 mod from_stream;
 
+#[allow(unused)]
 #[doc(inline)]
 pub use std::string::String;
diff --git a/src/sync/waker_set.rs b/src/sync/waker_set.rs
index 243b3e33e..05590f488 100644
--- a/src/sync/waker_set.rs
+++ b/src/sync/waker_set.rs
@@ -149,7 +149,7 @@ impl WakerSet {
     /// Returns `true` if at least one operation was notified.
     #[cold]
     fn notify(&self, n: Notify) -> bool {
-        let mut inner = &mut *self.lock();
+        let inner = &mut *self.lock();
         let mut notified = false;
 
         for (_, opt_waker) in inner.entries.iter_mut() {
diff --git a/src/vec/mod.rs b/src/vec/mod.rs
index 77a0b746b..2efd3c3f9 100644
--- a/src/vec/mod.rs
+++ b/src/vec/mod.rs
@@ -6,5 +6,6 @@
 mod extend;
 mod from_stream;
 
+#[allow(unused)]
 #[doc(inline)]
 pub use std::vec::Vec;