diff --git a/src/consts.rs b/src/consts.rs index 1a828317fc2d..29b96146db2d 100644 --- a/src/consts.rs +++ b/src/consts.rs @@ -1,3 +1,5 @@ +#![allow(cast_possible_truncation)] + use rustc::lint::Context; use rustc::middle::const_eval::lookup_const_by_id; use rustc::middle::def::PathResolution;