diff --git a/src/lib.rs b/src/lib.rs index 4dd3648..9a70759 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,5 +1,3 @@ -#![feature(non_exhaustive_omitted_patterns_lint)] - #[macro_use] extern crate tracing; diff --git a/src/passes/item_deleter.rs b/src/passes/item_deleter.rs index a398b33..75cc9bf 100644 --- a/src/passes/item_deleter.rs +++ b/src/passes/item_deleter.rs @@ -77,7 +77,6 @@ impl<'a> Visitor<'a> { // We hope for the unused imports to show them all. Item::Use(_) => true, Item::Verbatim(_) => true, - #[deny(non_exhaustive_omitted_patterns)] _ => true, } }