Enable more compliler lints.

This commit is contained in:
Dan Gohman
2018-02-23 22:27:52 -08:00
parent 1cf9a8d669
commit b9f51d7850
6 changed files with 18 additions and 6 deletions

View File

@@ -3,7 +3,9 @@
//! The cton_reader library supports reading .cton files. This functionality is needed for testing
//! Cretonne, but is not essential for a JIT compiler.
#![deny(missing_docs)]
#![deny(missing_docs,
trivial_numeric_casts,
unused_extern_crates)]
extern crate cretonne;