Allow float_cmp in consts lint code

Signed-off-by: Mateusz Mikuła <mati865@gmail.com>
This commit is contained in:
Mateusz Mikuła 2018-03-16 11:36:14 +01:00
parent c7770bf907
commit 3b387eaabe

View File

@ -1,4 +1,5 @@
#![allow(cast_possible_truncation)]
#![allow(float_cmp)]
use rustc::lint::LateContext;
use rustc::hir::def::Def;