Add lints

This commit is contained in:
Matthias Beyer 2018-04-14 00:39:43 +02:00
parent 76c8443e50
commit 461d59fcb0
1 changed files with 15 additions and 0 deletions

View File

@ -17,6 +17,21 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA // 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; extern crate clap;
#[macro_use] extern crate log; #[macro_use] extern crate log;