diff --git a/src/opaque.rs b/src/opaque.rs index ccf74f415..2ca90af43 100644 --- a/src/opaque.rs +++ b/src/opaque.rs @@ -15,7 +15,7 @@ use core::mem; pub struct Opaque { _private: [*const void; 0], _pinned: PhantomData, - _mutable: SyncUnsafeCell<()>, + _mutable: SyncUnsafeCell>, } // TODO: https://github.com/rust-lang/rust/issues/95439