Cameron Steffen
|
ae2a95fadc
|
Eat dogfood
|
2021-09-09 17:10:59 -05:00 |
|
xFrednet
|
12c61612f7
|
Update lint documentation to use markdown headlines
|
2021-07-28 14:31:59 +02:00 |
|
Cameron Steffen
|
e6ab222b81
|
Refactor format macro parsing
|
2021-07-13 08:57:16 -05:00 |
|
Cameron Steffen
|
20dbb277cf
|
Fix useless_format false positive
|
2021-07-13 08:57:16 -05:00 |
|
Basavesh Shivakumar
|
c6b381c59b
|
useless use of format! should return function directly
|
2021-04-19 17:20:21 +02:00 |
|
Jason Newcomb
|
12fce55766
|
Fix all occurences of needless_borrow internally
|
2021-04-06 10:43:47 -04: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 |
|
Mateusz Gacek
|
a0b7f9b3a0
|
useless_format: fix examples in the description
"Good" example was something not acceptable by the useless_format lint.
|
2021-03-05 12:11:31 -08:00 |
|
Cameron Steffen
|
22cc77a232
|
Use const rustc sym where possible
|
2020-11-02 11:46:37 -06:00 |
|
Sebastian Andersson
|
7b7ddfa55d
|
Preserve raw strs for: format!(s) to s.to_string() lint
Ie:
| let s = format!(r#""hello""#);
| ^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `r#""hello""#.to_string()`
|
2020-10-09 20:23:03 +02:00 |
|
rail
|
ce06472246
|
replace walk_ptrs_ty with peel_refs
|
2020-09-17 10:11:59 +12:00 |
|
LeSeulArtichaut
|
28f9b84042
|
ty.kind -> ty.kind() in rustdoc and clippy
|
2020-09-04 18:27:33 +02:00 |
|
Valentin Lazureanu
|
5a20489c5c
|
Rename TypeckTables to TypeckResults.
|
2020-07-17 08:47:04 +00:00 |
|
Eduard-Mihai Burtescu
|
30c046ede4
|
Use 'tcx for references to AccessLevels wherever possible.
|
2020-07-03 00:04:48 +03:00 |
|
Eduard-Mihai Burtescu
|
590e07bbc2
|
rustc_lint: avoid using TypeckTables::empty for LateContext.
|
2020-07-02 16:51:04 +03:00 |
|
Eduard-Mihai Burtescu
|
f5ce0e5fe9
|
rustc_lint: only query typeck_tables_of when a lint needs it.
|
2020-06-26 02:56:23 +03:00 |
|
Aaron Hill
|
6b3ee8f600
|
Update Clippy for MethodCall changes
|
2020-06-10 17:30:11 -04:00 |
|
Lzu Tao
|
8db24840f7
|
Merge commit 'ff0993c5e9162ddaea78e83d0f0161e68bd4ea73' into clippy
|
2020-06-09 14:36:01 +00:00 |
|
Philipp Hansch
|
0a49935270
|
cargo dev fmt
|
2020-04-26 13:44:08 +02:00 |
|
Philipp Hansch
|
0480ff861a
|
More diagnostic items
In particular for:
* `VecDeque`
* `String`
* `Mutex`
* `HashMap`
* `HashSet`
cc https://github.com/rust-lang/rust/pull/71414 https://github.com/rust-lang/rust-clippy/issues/5393
|
2020-04-26 13:44:08 +02:00 |
|
Philipp Hansch
|
870ae36f85
|
Cleanup: Rename 'db' variable to 'diag'
|
2020-04-17 08:08:00 +02:00 |
|
Matthias Krüger
|
aff57e0f43
|
rustup https://github.com/rust-lang/rust/pull/70536
|
2020-03-30 11:17:58 +02:00 |
|
Yuki Okushi
|
4253aa7137
|
Rustup to rust-lang/rust#69592
|
2020-03-01 12:23:33 +09:00 |
|
flip1995
|
8472ecda0f
|
Fix fallout
|
2020-02-21 11:14:18 +01:00 |
|
Yuki Okushi
|
ce1c6b285d
|
Rustup to rust-lang/rust#68045
|
2020-01-13 21:55:57 +09:00 |
|
Yuki Okushi
|
39947992b5
|
Rustup to rust-lang/rust#67806
|
2020-01-11 21:50:00 +09:00 |
|
Yuki Okushi
|
5ac08b0cc9
|
Normalize lint messages
|
2020-01-07 18:26:55 +09:00 |
|
Yuki Okushi
|
2f2eaf8b7e
|
Rustup to rust-lang/rust#67886
|
2020-01-07 01:46:33 +09:00 |
|
Philipp Hansch
|
c5178e82b4
|
Rustup to https://github.com/rust-lang/rust/pull/67853
Specifically caused by https://github.com/rust-lang/rust/pull/67786
|
2020-01-04 11:30:03 +01:00 |
|
Yuki Okushi
|
e2636729ec
|
Rustup to rust-lang/rust#66936
|
2019-12-27 16:13:53 +09:00 |
|
Matthias Krüger
|
98e433d70d
|
Rustup to rust-lang/rust#66878
|
2019-12-04 01:34:01 +01:00 |
|
Manish Goregaokar
|
341e266508
|
Add BorrowKind::Ref
|
2019-11-27 14:39:28 -08:00 |
|
flip1995
|
d43c424145
|
Rustup to rust-lang/rust#66671
|
2019-11-25 13:18:38 +01:00 |
|
Matthias Seiffert
|
15b433af48
|
Use match_function_call wherever possible
|
2019-10-10 20:06:04 +02:00 |
|
flip1995
|
4bbd10a585
|
Rustup to rust-lang/rust#64813
|
2019-09-27 17:21:20 +02:00 |
|
Lzu Tao
|
a7b7e19f49
|
Rustup https://github.com/rust-lang/rust/pull/64513
|
2019-09-26 16:03:36 +07:00 |
|
Manish Goregaokar
|
982c51e769
|
arm.pats -> arm.pat
|
2019-09-25 12:52:16 -07:00 |
|
Lzu Tao
|
f717a77ecc
|
Re-add false positive check
|
2019-08-23 09:16:50 +00:00 |
|
Lzu Tao
|
ce2d2920ef
|
Add raw string regression test for useless_format lint
|
2019-08-23 09:16:50 +00:00 |
|
Lzu Tao
|
09d302a786
|
Re-factor useless_format lint
|
2019-08-23 09:16:50 +00:00 |
|
KRAAI, MATTHEW [VISUS]
|
204b2f3658
|
Remove in_macro_or_desugar
|
2019-08-19 09:30:32 -07:00 |
|
Philipp Hansch
|
abfa8a952c
|
Doctests: Fix all complexity lint docs
cc #4319
|
2019-08-02 18:16:35 +02:00 |
|
Lzu Tao
|
79e3c7cd55
|
Remove wrong lifetime from LintContext
|
2019-06-12 10:28:52 +02:00 |
|
Manish Goregaokar
|
a6cf35264f
|
Rustup to rustc 1.36.0-nightly (dbfe70dfc 2019-05-22)
|
2019-05-21 21:58:27 -07:00 |
|
Oliver Scherer
|
f7f85a0dca
|
Prevent symbocalypse
|
2019-05-17 23:53:54 +02:00 |
|
Oliver Scherer
|
dfbc74b08b
|
Rustfmt all the things
|
2019-05-14 10:33:48 +02:00 |
|
Oliver Scherer
|
b2dbda4d48
|
Use symbols instead of strings
|
2019-05-14 10:33:42 +02:00 |
|