diff options
| author | Philipp Hansch <dev@phansch.net> | 2018-10-11 10:53:05 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-10-11 10:53:05 +0200 |
| commit | 8b45dd704b974fb9c6d8ea58330ca893154cb5db (patch) | |
| tree | 4255c1412897d1f3243284c2231418744db9d960 | |
| parent | 5e38944ebe73b901934fc81ad4fe4f443988f8b3 (diff) | |
| parent | 80cf0d7f26f437acf31ce74c52bbe809fcbcb9dc (diff) | |
| download | rust-8b45dd704b974fb9c6d8ea58330ca893154cb5db.tar.gz rust-8b45dd704b974fb9c6d8ea58330ca893154cb5db.zip | |
Merge pull request #3294 from mikerite/fix-3276
Fix fn_to_numeric_cast_with_truncation suppression
| -rw-r--r-- | clippy_lints/src/types.rs | 3 |
1 files changed, 2 insertions, 1 deletions
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 @@ 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, ) } } |
