Weak for Arc pointer is marked as DynSend/DynSync · rust-lang/rust@1b790cd (original) (raw)

Original file line number Diff line number Diff line change
@@ -75,6 +75,7 @@ impl_dyn_send!(
75 75 [std::sync::Mutex<T> where T: ?Sized+ DynSend]
76 76 [std::sync::mpsc::Sender<T> where T: DynSend]
77 77 [std::sync::Arc<T> where T: ?Sized + DynSync + DynSend]
78 +[std::sync::Weak<T> where T: ?Sized + DynSync + DynSend]
78 79 [std::sync::LazyLock<T, F> where T: DynSend, F: DynSend]
79 80 [std::collections::HashSet<K, S> where K: DynSend, S: DynSend]
80 81 [std::collections::HashMap<K, V, S> where K: DynSend, V: DynSend, S: DynSend]
@@ -157,6 +158,7 @@ impl_dyn_sync!(
157 158 [std::sync::OnceLock<T> where T: DynSend + DynSync]
158 159 [std::sync::Mutex<T> where T: ?Sized + DynSend]
159 160 [std::sync::Arc<T> where T: ?Sized + DynSync + DynSend]
161 +[std::sync::Weak<T> where T: ?Sized + DynSync + DynSend]
160 162 [std::sync::LazyLock<T, F> where T: DynSend + DynSync, F: DynSend]
161 163 [std::collections::HashSet<K, S> where K: DynSync, S: DynSync]
162 164 [std::collections::HashMap<K, V, S> where K: DynSync, V: DynSync, S: DynSync]