From 3b387eaabed1ed47503f44fd9fd54979b4024b64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Miku=C5=82a?= Date: Fri, 16 Mar 2018 11:36:14 +0100 Subject: [PATCH] Allow float_cmp in consts lint code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mateusz MikuĊ‚a --- clippy_lints/src/consts.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/clippy_lints/src/consts.rs b/clippy_lints/src/consts.rs index 7ed2ac752e54..675342645b89 100644 --- a/clippy_lints/src/consts.rs +++ b/clippy_lints/src/consts.rs @@ -1,4 +1,5 @@ #![allow(cast_possible_truncation)] +#![allow(float_cmp)] use rustc::lint::LateContext; use rustc::hir::def::Def;