From f6f1c234560b6cf3143d40ad78dd4603c0ee6ab3 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sat, 14 Apr 2018 00:39:43 +0200 Subject: [PATCH] Add lints --- bin/core/imag/src/main.rs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/bin/core/imag/src/main.rs b/bin/core/imag/src/main.rs index 396c515c..a83cc234 100644 --- a/bin/core/imag/src/main.rs +++ b/bin/core/imag/src/main.rs @@ -17,6 +17,21 @@ // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA // +#![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, +)] + extern crate clap; #[macro_use] extern crate log; extern crate walkdir;