From dcd80a92b29814a626eede575e2e9bf0c150ca70 Mon Sep 17 00:00:00 2001 From: Danilo Bargen Date: Thu, 14 Jan 2016 09:03:08 +0100 Subject: [PATCH] Enable more compiler lints --- src/main.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/main.rs b/src/main.rs index 097c48a..b1995e4 100644 --- a/src/main.rs +++ b/src/main.rs @@ -8,6 +8,14 @@ // option. All files in the project carrying such notice may not be // copied, modified, or distributed except according to those terms. +#![deny(missing_docs, missing_debug_implementations, + unsafe_code, + unused_import_braces, unused_qualifications)] +#![warn(trivial_casts, trivial_numeric_casts, + missing_copy_implementations, + unused_extern_crates, unused_results)] + + #[macro_use] extern crate log; #[cfg(feature = "logging")]extern crate env_logger; extern crate docopt;