From 49b054aeda4f4ede53fcf30a6ab503d26584f76b Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sat, 8 Oct 2016 00:57:22 +0200 Subject: [PATCH] Deny warnings --- imag-bookmark/src/main.rs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/imag-bookmark/src/main.rs b/imag-bookmark/src/main.rs index 814d1a40..88f41f7b 100644 --- a/imag-bookmark/src/main.rs +++ b/imag-bookmark/src/main.rs @@ -17,6 +17,21 @@ // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA // +#![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, +)] + extern crate clap; #[macro_use] extern crate log; #[macro_use] extern crate version;