rust-clippy/clippy_utils/src
Paolo Borelli b0edbca0e6 new lint cast_abs_to_unsigned
Add a lint to detect cast to unsigned for abs() and suggest
unsigned_abs() to avoid panic when called on MIN.
2022-04-07 11:28:14 +02:00
..
ast_utils Merge commit '928e72dd10749875cbd412f74bfbfd7765dbcd8a' into clippyup 2021-02-25 11:25:22 +01:00
ast_utils.rs Merge remote-tracking branch 'upstream/master' into rustup 2022-03-14 11:29:18 +01:00
attrs.rs Remove unnecessary sigils around Symbol::as_str() calls. 2021-12-15 17:32:14 +11:00
comparisons.rs Merge commit '928e72dd10749875cbd412f74bfbfd7765dbcd8a' into clippyup 2021-02-25 11:25:22 +01:00
consts.rs Merge remote-tracking branch 'upstream/master' into rustup 2022-03-14 11:29:18 +01:00
diagnostics.rs allowing [map_flatten] to split long suggestions 2022-03-21 14:11:22 +08:00
eager_or_lazy.rs Improve AdtDef interning. 2022-03-11 13:31:24 +11:00
higher.rs Merge commit '57b3c4b90f4346b3990c1be387c3b3ca7b78412c' into clippyup 2022-02-10 18:40:06 +01:00
hir_utils.rs Suggest into_iter() over drain(..) 2022-03-03 13:10:19 +08:00
lib.rs Improve AdtDef interning. 2022-03-11 13:31:24 +11:00
macros.rs Merge commit 'e329249b6a3a98830d860c74c8234a8dd9407436' into clippyup 2022-02-26 14:26:21 +01:00
msrvs.rs new lint cast_abs_to_unsigned 2022-04-07 11:28:14 +02:00
numeric_literal.rs Merge commit 'a98e7ab8b94485be6bd03e0c6b8682ecab5b52e6' into clippyup 2022-01-27 15:12:45 +01:00
paths.rs Don't lint cast_ptr_alignment when used for unaligned reads and writes 2022-04-04 13:54:52 -04:00
ptr.rs Remove a span from hir::ExprKind::MethodCall 2022-01-21 07:48:10 -06:00
qualify_min_const_fn.rs Stabilize const_fn_fn_ptr_basics and const_fn_trait_bound 2022-03-07 08:47:15 -08:00
source.rs Merge commit '97a5daa65908e59744e2bc625b14849352231c75' into clippyup 2022-01-13 13:18:19 +01:00
str_utils.rs Merge commit '0eff589afc83e21a03a168497bbab6b4dfbb4ef6' into clippyup 2021-12-30 15:10:43 +01:00
sugg.rs Make search_is_somes suggestion MachineApplicable 2022-03-14 22:02:10 +01:00
sym_helper.rs Merge commit '928e72dd10749875cbd412f74bfbfd7765dbcd8a' into clippyup 2021-02-25 11:25:22 +01:00
ty.rs Merge remote-tracking branch 'upstream/master' into rustup 2022-03-14 11:29:18 +01:00
usage.rs Fix Visitor::NestedFilter in Clippy 2022-01-16 16:02:36 -06:00
visitors.rs Fix Visitor::NestedFilter in Clippy 2022-01-16 16:02:36 -06:00