diff --git a/library/std/src/sync/poison.rs b/library/std/src/sync/poison.rs index 741312d5537e9..ababaa2f06635 100644 --- a/library/std/src/sync/poison.rs +++ b/library/std/src/sync/poison.rs @@ -55,6 +55,7 @@ impl Flag { } } +#[derive(Clone)] pub struct Guard { panicking: bool, }