From 99d34d019b1a5bc02bccbccb0a5d9d79a3300606 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sat, 8 Oct 2016 00:51:47 +0200 Subject: [PATCH] Deny warnings --- imag-ref/src/main.rs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/imag-ref/src/main.rs b/imag-ref/src/main.rs index f233bd87..14bd664e 100644 --- a/imag-ref/src/main.rs +++ b/imag-ref/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, +)] + #[macro_use] extern crate log; #[macro_use] extern crate version; extern crate semver;