From f0178d4fabdc6c4bfd5dd4ec809a41e9edf8daf2 Mon Sep 17 00:00:00 2001 From: "Dustin J. Mitchell" Date: Thu, 24 Feb 2022 03:33:08 +0000 Subject: [PATCH] don't use unsafe_op_in_unsafe_fn, as it's not in MSRV --- lib/src/lib.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/src/lib.rs b/lib/src/lib.rs index 946342fb3..014a70c5a 100644 --- a/lib/src/lib.rs +++ b/lib/src/lib.rs @@ -1,4 +1,7 @@ -#![warn(unsafe_op_in_unsafe_fn)] +// Not compatible with the MSRV +// #![warn(unsafe_op_in_unsafe_fn)] +#![allow(unused_unsafe)] + // Not working yet in stable - https://github.com/rust-lang/rust-clippy/issues/8020 // #![warn(clippy::undocumented_unsafe_blocks)]