diff --git a/parsers/src/lib.rs b/parsers/src/lib.rs index 194e6ec12787fd2f83f9b8bf4d89cbdce2502bb6..e81cbffed3acc89fa7161ebbeaff0172e34712b6 100644 --- a/parsers/src/lib.rs +++ b/parsers/src/lib.rs @@ -22,6 +22,14 @@ // file, You can obtain one at http://mozilla.org/MPL/2.0/. #![warn(missing_docs)] +#![deny( + non_camel_case_types, + non_snake_case, + unsafe_code, + unused_variables, + unused_mut, + dead_code +)] #![cfg_attr(docsrs, feature(doc_cfg))] #![cfg_attr(docsrs, doc(auto_cfg))] diff --git a/parsers/src/util/macro_tests.rs b/parsers/src/util/macro_tests.rs index 1a7107ebc8af72657cff6e1ed1d492975864c043..a79ca718e9100c59797f6199ff0b76e204a49169 100644 --- a/parsers/src/util/macro_tests.rs +++ b/parsers/src/util/macro_tests.rs @@ -4,15 +4,6 @@ // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. -#![deny( - non_camel_case_types, - non_snake_case, - unsafe_code, - unused_variables, - unused_mut, - dead_code -)] - mod helpers { // we isolate the helpers into a module, because we do not want to have // them in scope below.