From 7bcff482869db21c00d1d48dae65d130b9b01833 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sat, 16 Apr 2016 22:31:51 +0200 Subject: [PATCH] Enable lints --- libimagutil/src/lib.rs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/libimagutil/src/lib.rs b/libimagutil/src/lib.rs index 4140f429..e9894c0a 100644 --- a/libimagutil/src/lib.rs +++ b/libimagutil/src/lib.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 lazy_static; #[macro_use] extern crate log; extern crate regex;