ThibsG
|
566244a8bc
|
Do not lint when cast is coming from signum method call
|
2021-10-21 19:15:26 +02:00 |
|
Michael Sproul
|
fbd0fb9aed
|
Restriction lint for function pointer casts
|
2021-10-07 09:11:47 -05:00 |
|
hkalbasi
|
388a3d0983
|
Implement equatable if let lint
|
2021-10-04 22:16:42 +03:30 |
|
flip1995
|
4962608ca6
|
Merge remote-tracking branch 'upstream/master' into rustup
|
2021-09-08 10:51:27 +02:00 |
|
xFrednet
|
62b46125cb
|
Avoid slice indexing in Clippy (down with the ICEs)
|
2021-09-05 14:50:13 +02:00 |
|
Eduard-Mihai Burtescu
|
8f7c249980
|
rustc_target: move LayoutOf to ty::layout .
|
2021-09-02 01:17:14 +03:00 |
|
flip1995
|
2b20f49841
|
Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup
|
2021-07-29 12:16:06 +02:00 |
|
xFrednet
|
12c61612f7
|
Update lint documentation to use markdown headlines
|
2021-07-28 14:31:59 +02:00 |
|
flip1995
|
6c27482115
|
Merge commit '3ae8faff4d46ad92f194c2a4b941c3152a701b31' into clippyup
|
2021-06-03 08:41:37 +02:00 |
|
Cameron Steffen
|
d39a11cbe1
|
Remove clippy_utils::consts re-export
|
2021-05-27 08:52:10 -05:00 |
|
flip1995
|
ae72f1adb9
|
Merge commit '7c7683c8efe447b251d6c5ca6cce51233060f6e8' into clippyup
|
2021-04-27 16:55:11 +02:00 |
|
Cameron Steffen
|
340b570ea0
|
Refactor MSRV aliases
|
2021-04-26 16:07:48 -05:00 |
|
flip1995
|
f6d1f368db
|
Merge commit 'b40ea209e7f14c8193ddfc98143967b6a2f4f5c9' into clippyup
|
2021-04-08 17:50:13 +02:00 |
|
Jason Newcomb
|
12fce55766
|
Fix all occurences of needless_borrow internally
|
2021-04-06 10:43:47 -04:00 |
|
flip1995
|
9f6b5de7de
|
Merge commit '0e87918536b9833bbc6c683d1f9d51ee2bf03ef1' into clippyup
|
2021-03-25 19:29:11 +01:00 |
|
Cameron Steffen
|
0743e841f0
|
Don't re-export clippy_utils::*
|
2021-03-17 09:13:52 -05:00 |
|
Cameron Steffen
|
1c3a3e7dc6
|
Don't re-export clippy_utils::diagnostics::*
|
2021-03-15 20:06:01 -05:00 |
|
Cameron Steffen
|
6fc52a63d1
|
Move some utils to clippy_utils::source module
|
2021-03-15 15:34:15 -05:00 |
|
Cameron Steffen
|
eb7f8d6089
|
Move some utils to ty_utils
|
2021-03-15 13:44:09 -05:00 |
|
iobtl
|
1054eb0c85
|
use lint_unnecessary_cast for literals, suggest _ if not present
|
2021-03-14 08:09:08 +08:00 |
|
iobtl
|
6d2236f503
|
replace span_lint with span_lint_and_sugg along with error message
|
2021-03-13 16:54:59 +08:00 |
|
flip1995
|
f2f2a005b4
|
Merge commit '6ed6f1e6a1a8f414ba7e6d9b8222e7e5a1686e42' into clippyup
|
2021-03-12 15:30:50 +01:00 |
|
Yoshitomo Nakanishi
|
9e631da454
|
Move ptr_as_ptr to its own module
|
2021-03-09 20:18:25 +09:00 |
|
Yoshitomo Nakanishi
|
43c88c60c1
|
Move char_lit_as_u8 to its own module
|
2021-03-09 17:28:56 +09:00 |
|
Yoshitomo Nakanishi
|
f33bb3d900
|
Move cast_ref_to_mut to its own module
|
2021-03-09 17:24:29 +09:00 |
|
Yoshitomo Nakanishi
|
ebd1ec0e40
|
Move cast_ptr_alignment to its own module
|
2021-03-09 17:17:04 +09:00 |
|
Yoshitomo Nakanishi
|
9a24877e2c
|
Move fn_to_numeric_cast_with_truncation to its own module
|
2021-03-09 17:16:10 +09:00 |
|
Yoshitomo Nakanishi
|
458f6d19d0
|
Move fn_to_numeric_cast to its own module
|
2021-03-09 17:16:10 +09:00 |
|
Yoshitomo Nakanishi
|
0dce9921fd
|
Remove 'lint_numeric_casts'
|
2021-03-09 17:16:10 +09:00 |
|
Yoshitomo Nakanishi
|
9709993e41
|
Move unnecessary_cast to its own module
|
2021-03-09 17:16:07 +09:00 |
|
Yoshitomo Nakanishi
|
a383e034dc
|
Move cast_possible_wrap to its own module
|
2021-03-09 16:44:44 +09:00 |
|
Yoshitomo Nakanishi
|
0975031117
|
Move cast_sign_loss to its own module
|
2021-03-09 16:05:21 +09:00 |
|
Yoshitomo Nakanishi
|
0534bf4698
|
Move cast_possible_truncation to its own module
|
2021-03-09 16:05:20 +09:00 |
|
Yoshitomo Nakanishi
|
b12d7515b1
|
Move cast_lossless to its own module
|
2021-03-09 12:39:59 +09:00 |
|
Yoshitomo Nakanishi
|
c2cbcd3229
|
Move cast_precision_loss to its own module
|
2021-03-09 11:22:17 +09:00 |
|
Yoshitomo Nakanishi
|
360f065404
|
Move 'is_isize_or_usize' to clippy_utils
|
2021-03-09 11:08:45 +09:00 |
|
Yoshitomo Nakanishi
|
f098007caa
|
Separate lints of casts group from types group
|
2021-03-09 10:57:32 +09:00 |
|