From dcd72765bc9754b06a6ee5b20a9ce850a9868f4b Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sun, 31 Jul 2016 11:12:35 +0200 Subject: [PATCH] Add deny() macro --- imag-diary/src/main.rs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/imag-diary/src/main.rs b/imag-diary/src/main.rs index 83572f5a..c65780a8 100644 --- a/imag-diary/src/main.rs +++ b/imag-diary/src/main.rs @@ -1,3 +1,18 @@ +#![deny( + non_camel_case_types, + non_snake_case, + path_statements, + trivial_numeric_casts, + unstable_features, + unused_allocation, + unused_import_braces, + unused_imports, + unused_must_use, + unused_mut, + unused_qualifications, + while_true, +)] + #[macro_use] extern crate log; #[macro_use] extern crate version; extern crate clap;