Michael Edwards
4520529a83
Remind users of separate rustc
lint groups
2021-12-09 12:44:49 +01:00
Cameron Steffen
27bb76b5f3
Tweak pedantic description for occasional FPs
2021-09-22 10:49:11 -05:00
Aaron
6a9549c358
Update README.md
2021-09-01 14:04:24 -07:00
flip1995
a82a744155
Merge remote-tracking branch 'upstream/master' into rustup
2021-07-01 17:41:24 +02:00
bors
95c2ab75db
Auto merge of #7405 - jyn514:fix-stable, r=camsteffen
...
Stabilize `cargo clippy --fix`
This has been unstable since it was first introduced in
https://github.com/rust-lang/rust-clippy/pull/5363 . In that time, I have
been using it successfully in nightly without issues. I don't think
there are any blocking issues now that RUSTC_WORKSPACE_WRAPPER is
stabilized, so this can be stabilized.
changelog: Stabilize `cargo clippy --fix`
2021-06-29 13:03:45 +00:00
Joshua Nelson
aa40487a84
Stabilize cargo clippy --fix
...
This has been unstable since it was first introduced in
https://github.com/rust-lang/rust-clippy/pull/5363 . In that time, I have
been using it successfully in nightly without issues. I don't think
there are any blocking issues now that RUSTC_WORKSPACE_WRAPPER is
stabilized, so this can be stabilized.
2021-06-28 21:46:57 -04:00
Cameron Steffen
7e21db5b5c
Add suspicious group
2021-06-25 08:53:29 -05:00
Alexander Melentyev
dab42cff02
Delete spaces
2021-06-21 12:11:37 +03:00
flip1995
6c27482115
Merge commit '3ae8faff4d46ad92f194c2a4b941c3152a701b31' into clippyup
2021-06-03 08:41:37 +02:00
Cameron Steffen
2e2021bbda
Add avoid_breaking_exported_api config option
2021-05-26 16:35:22 -05:00
Yoh Deadfall
31b97ea3b2
Updated years in copyrigths
2021-05-20 23:09:27 +02:00
flip1995
f6d1f368db
Merge commit 'b40ea209e7f14c8193ddfc98143967b6a2f4f5c9' into clippyup
2021-04-08 17:50:13 +02:00
Elliot Bobrow
7fcd155712
Add non_octal_unix_permissions lint
2021-03-30 16:04:16 -07:00
flip1995
f2f2a005b4
Merge commit '6ed6f1e6a1a8f414ba7e6d9b8222e7e5a1686e42' into clippyup
2021-03-12 15:30:50 +01:00
hyd-dev
03e72d5446
Let Cargo track CLIPPY_ARGS
2021-03-04 03:29:21 +08:00
flip1995
f64149dd04
Merge commit '928e72dd10749875cbd412f74bfbfd7765dbcd8a' into clippyup
2021-02-25 11:25:22 +01:00
Miguel Ojeda
6b8b43c0d1
README: Add subsection on running Clippy as a rustc wrapper
...
This is useful for projects that do not use cargo.
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2021-02-24 01:54:42 +01:00
flip1995
ba4bf4f9c5
Merge commit '1fcc74cc9e03bc91eaa80ecf92976b0b14b3aeb6' into clippyup
2021-01-02 16:29:43 +01:00
flip1995
88491e2a51
Special sync of 'e89801553ddbaccdeb2eac4db08900edb51ac7ff'
2020-12-23 10:57:35 +01:00
Philipp Krones
7fa1d78c89
Revert "Pass Clippy args also trough RUSTFLAGS"
2020-12-22 19:17:59 +01:00
Matthias Krüger
04d3044837
readme: remove paragraph about executing clippy via "cargo run .."
...
This most likely no longer works since we are pinning clippy on a specific nightly now.
"cargo run" would try to compile clippy with whatever version the project we want to check demands.
Also building clippy yourself to run it on a project is not really needed anymore since clippy is shipped with official rust releases.
Fixes #6489
2020-12-22 01:24:59 +01:00
Matthias Krüger
19ace28af4
readme: remove paragraph about installing clippy manually on ci, if it is missing on a nightly
...
Clippy should always be available on nightly because we are gating on it in rustcs CI.
2020-12-21 16:11:40 +01:00
flip1995
f03edfd7a1
Merge commit '4911ab124c481430672a3833b37075e6435ec34d' into clippyup
2020-12-20 17:19:49 +01:00
Eduardo Broto
cc9695543e
Pass Clippy args also trough RUSTFLAGS
2020-12-13 15:43:20 +01:00
flip1995
8eca423ea1
Merge commit 'c1664c50b27a51f7a78c93ba65558e7c33eabee6' into clippyup
2020-12-06 15:01:03 +01:00
Eduardo Broto
192ccfb4ef
Update README.md
2020-11-27 17:41:50 +01:00
flip1995
6eb2c27bcc
Note that it is possible to omit the patch version
2020-11-26 10:15:00 +01:00
Philipp Krones
3bcc75d446
Remove mention of possibility to specify the MSRV with a tilde/caret
2020-11-26 10:01:02 +01:00
Philipp Krones
b2eb55b03e
Fix formatting in README.md
2020-11-25 20:37:32 +01:00
Suyash458
94a6832f0b
update README.md
2020-11-25 22:09:50 +05:30
Suyash458
85a17b5334
update README.md for specifying msrv
2020-11-25 21:30:34 +05:30
flip1995
d3d2018ead
Merge commit '3e7c6dec244539970b593824334876f8b6ed0b18' into clippyup
2020-11-23 13:51:04 +01:00
flip1995
34244190d4
Merge commit 'b20d4c155d2fe3a8391f86dcf9a8c49e17188703' into clippyup
2020-11-05 14:29:48 +01:00
Cameron Steffen
fd8decee6a
Readme improvements
...
Format lint categories as a table with the default lint level.
2020-11-04 17:29:19 -06:00
Randall Mason
cf2043d4a2
Update wording to avoid code having "lint" metaphor
2020-11-03 15:59:24 -06:00
Randall Mason
9f402c991b
Clarify allow/warn/deny. Remove enable/disable.
...
Disable and enable when not specifically explained were not clear to me
as an English language speaker, but I was able to figure it out fairly
easily due to the examples having A/W, which I assumed meant `allow` and
`warn`. I removed both words to be sure it was clear as well as
extending the note on what deny means. It now includes a statement on
exactly what each word means.
2020-10-30 12:16:11 -05:00
Eduardo Broto
cdb555f4fc
Merge commit 'bf1c6f9871f430e284b17aa44059e0d0395e28a6' into clippyup
2020-10-23 22:16:59 +02:00
Lotte Steenbrink
8ba18aeb69
README: sort en/disabling section, fix typos, add note
2020-10-14 16:45:36 +02:00
flip1995
fbf2430f02
Merge commit '2f6439ae6a6803d030cceb3ee14c9150e91b328b' into clippyup
2020-10-09 12:45:29 +02:00
Frank
f4d88cbb1f
run cargo dev update_lints
2020-09-25 11:09:04 -05:00
flip1995
d164ab65f7
Merge commit 'da5a6fb1b65ec6581a67e942a3850f6bc15a552c' into clippyup
2020-07-26 21:07:07 +02:00
Philipp Krones
bdc01c882e
Update Usage section of README.md
2020-07-22 18:07:33 +02:00
Matthias Krüger
081641249e
README: fix lit count line
...
It looks like after changing to "there are more than 120 lints", an older PR was merged
and resolving merge conflicts this was changed back to "there are 123 lints" causing the update-script to silently fail.
Changed back the README.md back to the new format fixes the problem.
2020-04-23 16:11:18 +02:00
Devin R
7242fa5e41
fix map import to rustc_middle
2020-04-20 06:30:01 -04:00
Devin R
2e8a2de4af
dev update_lints
2020-04-20 06:30:01 -04:00
Matthias Krüger
65bc234c5c
readme: update to cargo clippy --fix command
2020-04-16 22:19:11 +02:00
flip1995
cbdf4cc71e
Run update_lints
2020-03-31 17:24:09 +02:00
flip1995
3155eedb68
Don't use an exact lint counter anymore
2020-03-31 17:24:09 +02:00
Tomasz Miąsko
b77b219280
Lint unnamed address comparisons
2020-03-30 21:42:16 +02:00
bors
bfd11235a6
Auto merge of #5380 - lzutao:deprecate-REPLACE_CONSTS, r=phansch
...
Deprecate REPLACE_CONSTS lint
Closes #5346
changelog: Deprecate `replace_consts` lint
2020-03-30 08:03:42 +00:00