Add deny() so we turn some warnings into errors

This commit is contained in:
Matthias Beyer 2016-03-21 19:51:23 +01:00
parent c59ed7d2fe
commit 2deb98d764

View file

@ -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 log;
#[macro_use] extern crate version; #[macro_use] extern crate version;
extern crate fs2; extern crate fs2;