From 80cf0d7f26f437acf31ce74c52bbe809fcbcb9dc Mon Sep 17 00:00:00 2001 From: Michael Wright Date: Thu, 11 Oct 2018 07:45:26 +0200 Subject: [PATCH] Fix fn_to_numeric_cast_with_truncation suppression Fixes #3276 --- clippy_lints/src/types.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clippy_lints/src/types.rs b/clippy_lints/src/types.rs index f43b1fe7a..035ca2b04 100644 --- a/clippy_lints/src/types.rs +++ b/clippy_lints/src/types.rs @@ -977,7 +977,8 @@ impl LintPass for CastPass { CAST_LOSSLESS, UNNECESSARY_CAST, CAST_PTR_ALIGNMENT, - FN_TO_NUMERIC_CAST + FN_TO_NUMERIC_CAST, + FN_TO_NUMERIC_CAST_WITH_TRUNCATION, ) } }