diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2016-04-23 17:19:32 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2016-06-04 15:34:02 +0200 |
commit | 14a4b786e8a525e28c3f12457029763c5bd77bea (patch) | |
tree | a2cf610074a220dda54357617ba82fc6f528cc57 /libimagdiary/src | |
parent | ef86c5e1ffbd8fb01c4c638d0da18256c2920391 (diff) |
Enable lints
Diffstat (limited to 'libimagdiary/src')
-rw-r--r-- | libimagdiary/src/lib.rs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libimagdiary/src/lib.rs b/libimagdiary/src/lib.rs index 0e6256e6..4f80a277 100644 --- a/libimagdiary/src/lib.rs +++ b/libimagdiary/src/lib.rs @@ -1,3 +1,19 @@ +#![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; #[macro_use] extern crate log; #[macro_use] extern crate lazy_static; |