diff --git a/src/cargo/util/lazy_cell.rs b/src/cargo/util/lazy_cell.rs index 607f2ef982e..a5525417527 100644 --- a/src/cargo/util/lazy_cell.rs +++ b/src/cargo/util/lazy_cell.rs @@ -55,6 +55,7 @@ impl LazyCell { } /// Consumes this `LazyCell`, returning the underlying value. + #[allow(unused_unsafe)] pub fn into_inner(self) -> Option { unsafe { self.inner.into_inner()