Enable warning-to-error deny!()

This commit is contained in:
Matthias Beyer 2016-03-25 16:23:51 +01:00
parent 87fa9bab13
commit c53cc56d0c

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 itertools; #[macro_use] extern crate itertools;
#[cfg(unix)] extern crate xdg_basedir; #[cfg(unix)] extern crate xdg_basedir;