diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2016-03-25 16:23:51 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2016-03-25 16:23:51 +0100 |
commit | c53cc56d0cf6aab33b92b675af726302a300db19 (patch) | |
tree | f2fe9e00765490ccf37da6717a04f69e0184c57f /libimagrt | |
parent | 87fa9bab13da5ab07b9996ad82374d0496c74087 (diff) |
Enable warning-to-error deny!()
Diffstat (limited to 'libimagrt')
-rw-r--r-- | libimagrt/src/lib.rs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libimagrt/src/lib.rs b/libimagrt/src/lib.rs index 28fb6a1c..fdcd3b40 100644 --- a/libimagrt/src/lib.rs +++ b/libimagrt/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, +)] + #[macro_use] extern crate log; #[macro_use] extern crate itertools; #[cfg(unix)] extern crate xdg_basedir; |