Fix cast_possible_truncation warnings
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
#![feature(tool_lints)]
|
||||
#![warn(rust_2018_idioms, trivial_casts, trivial_numeric_casts)]
|
||||
#![feature(crate_visibility_modifier)]
|
||||
#![feature(try_from)]
|
||||
|
||||
// FIXME: switch to something more ergonomic here, once available.
|
||||
// (currently there is no way to opt into sysroot crates w/o `extern crate`)
|
||||
|
||||
Reference in New Issue
Block a user