From a40d90fef23cb3e58e60155c27ec16f0243cc9d1 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sat, 14 Apr 2018 00:41:31 +0200 Subject: [PATCH] Add lints --- lib/domain/libimaghabit/src/lib.rs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/lib/domain/libimaghabit/src/lib.rs b/lib/domain/libimaghabit/src/lib.rs index d8a5581e..5272cc6b 100644 --- a/lib/domain/libimaghabit/src/lib.rs +++ b/lib/domain/libimaghabit/src/lib.rs @@ -17,6 +17,22 @@ // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA // +#![deny( + dead_code, + 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 chrono; extern crate toml; extern crate toml_query;