From 1f66b0f216baf83ba0f9fef6486609b388f80b90 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sat, 16 Apr 2016 22:04:17 +0200 Subject: [PATCH] Add lints --- libimaglink/src/lib.rs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/libimaglink/src/lib.rs b/libimaglink/src/lib.rs index e35725e2..448bb853 100644 --- a/libimaglink/src/lib.rs +++ b/libimaglink/src/lib.rs @@ -1,3 +1,17 @@ +#![deny( + non_camel_case_types, + non_snake_case, + path_statements, + trivial_numeric_casts, + unstable_features, + unused_allocation, + unused_import_braces, + unused_imports, + unused_mut, + unused_qualifications, + while_true, +)] + extern crate itertools; #[macro_use] extern crate log; extern crate toml;