We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d461291 commit 4182076Copy full SHA for 4182076
library/std/src/sync/poison.rs
@@ -60,6 +60,9 @@
60
//! while it is locked exclusively (write mode). If a panic occurs in any reader,
61
//! then the lock will not be poisoned.
62
63
+// If we are not unwinding, `PoisonError` is uninhabited.
64
+#![cfg_attr(not(panic = "unwind"), expect(unreachable_code))]
65
+
66
#[stable(feature = "rust1", since = "1.0.0")]
67
pub use self::condvar::{Condvar, WaitTimeoutResult};
68
#[unstable(feature = "mapped_lock_guards", issue = "117108")]
0 commit comments