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

@@ -236,7 +236,9 @@
//! This will match `"one, two"` , but not `"one,two"`. Without the `$()`, trailing whitespace
//! would be trimmed from the pattern.
#![deny(missing_docs)]
#![deny(missing_docs,
trivial_numeric_casts,
unused_extern_crates)]
pub use error::{Error, Result};
pub use variable::{VariableMap, Value, NO_VARIABLES};