From: Michael Wright Date: Thu, 11 Oct 2018 05:45:26 +0000 (+0200) Subject: Fix fn_to_numeric_cast_with_truncation suppression X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=80cf0d7f26f437acf31ce74c52bbe809fcbcb9dc;p=rust.git Fix fn_to_numeric_cast_with_truncation suppression Fixes #3276 --- diff --git a/clippy_lints/src/types.rs b/clippy_lints/src/types.rs index f43b1fe7abe..035ca2b0496 100644 --- a/clippy_lints/src/types.rs +++ b/clippy_lints/src/types.rs @@ -977,7 +977,8 @@ fn get_lints(&self) -> LintArray { CAST_LOSSLESS, UNNECESSARY_CAST, CAST_PTR_ALIGNMENT, - FN_TO_NUMERIC_CAST + FN_TO_NUMERIC_CAST, + FN_TO_NUMERIC_CAST_WITH_TRUNCATION, ) } }