Skip to content

Commit 8b45dd7

Browse files
authored
Merge pull request rust-lang#3294 from mikerite/fix-3276
Fix fn_to_numeric_cast_with_truncation suppression
2 parents 5e38944 + 80cf0d7 commit 8b45dd7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

clippy_lints/src/types.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -977,7 +977,8 @@ impl LintPass for CastPass {
977977
CAST_LOSSLESS,
978978
UNNECESSARY_CAST,
979979
CAST_PTR_ALIGNMENT,
980-
FN_TO_NUMERIC_CAST
980+
FN_TO_NUMERIC_CAST,
981+
FN_TO_NUMERIC_CAST_WITH_TRUNCATION,
981982
)
982983
}
983984
}

0 commit comments

Comments
 (0)