diff --git a/src/flock.rs b/src/flock.rs index ec02384..24e24be 100644 --- a/src/flock.rs +++ b/src/flock.rs @@ -19,7 +19,7 @@ pub struct Lock { // integration test crate. enum Guard { NotLocked, - Locked(MutexGuard<'static, ()>), + Locked(#[allow(dead_code)] MutexGuard<'static, ()>), } // Best-effort filesystem lock to coordinate different #[test] functions across