diff --git a/ext/fs/sync.rs b/ext/fs/sync.rs index 749e4ee02e..ca19cc7ac4 100644 --- a/ext/fs/sync.rs +++ b/ext/fs/sync.rs @@ -46,6 +46,8 @@ mod inner { #[cfg(not(feature = "sync_fs"))] mod inner { pub use std::rc::Rc as MaybeArc; + use std::ops::Deref; + use std::ops::DerefMut; pub trait MaybeSync {} impl MaybeSync for T where T: ?Sized {}