Michael Wright
|
f4cf82ce7d
|
Update README local run command to remove syspath
Since #3257 was reverted, including the sysroot in RUSTFLAGS gives the
error `Option 'sysroot' given more than once`
|
2018-12-29 07:59:33 +02:00 |
|
bors
|
d3c747c752
|
Auto merge of #3569 - phansch:update_contributing, r=flip1995
Change contrib.md hierarchy, link to it from readme
'How Clippy works' and 'How to fix nightly failures' are not exactly part
of 'Writing code'.
|
2018-12-22 09:18:39 +00:00 |
|
Philipp Hansch
|
cef8f57082
|
Remove header link
|
2018-12-22 10:16:52 +01:00 |
|
Philipp Hansch
|
ff634e2350
|
Change contrib.md hierarchy, link to it from readme
'How Clippy works' and 'How to fix nightly failures' are not exactly part
of 'Writing code'.
|
2018-12-21 08:11:06 +01:00 |
|
Michael Wright
|
987f260543
|
Update README local run command to specify syspath
|
2018-12-19 06:13:43 +02:00 |
|
Kampfkarren
|
e5ea5395b9
|
Update lint definitions
|
2018-12-13 09:14:01 -08:00 |
|
Philipp Hansch
|
0c93e4cdb2
|
s/clippy/Clippy in readme
|
2018-12-10 22:30:16 +01:00 |
|
Philipp Hansch
|
d4da776ea7
|
Also add note about using -W clippy::lint_group
|
2018-12-10 22:22:57 +01:00 |
|
Philipp Hansch
|
04e251f623
|
readme: tool lints are stable now
|
2018-12-10 22:04:27 +01:00 |
|
Nick Cameron
|
7220185560
|
Remove -preview suffix from README
|
2018-12-06 11:11:50 -05:00 |
|
daxpedda
|
d5d6692288
|
Added FORCED_RETURN lint.
|
2018-12-05 01:59:09 +01:00 |
|
David Tolnay
|
e632a1946e
|
Remove unsafe_vector_initialization lint
|
2018-12-03 02:48:37 -08:00 |
|
Philipp Hansch
|
93e8c9efc9
|
Update docs in regards to the merged RFC
|
2018-11-28 08:11:28 +01:00 |
|
Matthias Krüger
|
2a1c8b1db6
|
readme: tell how to install clippy on travis from git if it is not shipped with a nightly.
|
2018-11-26 14:07:21 +01:00 |
|
Guillem Nieto
|
dc35841be4
|
Update lints
|
2018-11-25 14:36:04 -08:00 |
|
Matthias Krüger
|
0b8d323304
|
missed another one in the README
|
2018-11-22 04:50:00 +01:00 |
|
Matthias Krüger
|
f5929e0797
|
rust-lang-nursery/rust-clippy => rust-lang/rust-clippy
|
2018-11-22 04:40:09 +01:00 |
|
Yusuf Simonson
|
866caabb7a
|
Check for common metadata
|
2018-11-13 08:43:30 -05:00 |
|
flip1995
|
bb4083c412
|
Run update_lints.py script
|
2018-11-02 19:50:23 +01:00 |
|
kennytm
|
2d1c9313b0
|
Added lints into_iter_on_ref and into_iter_on_array . Fix #1565.
|
2018-11-02 22:53:56 +08:00 |
|
flip1995
|
6819127f1e
|
run update_lints script
|
2018-11-02 13:49:10 +01:00 |
|
Shotaro Yamada
|
5285372f68
|
Run update_lints
|
2018-10-26 01:16:14 +09:00 |
|
HMPerson1
|
aabf8083bd
|
Add lint for calling mem::discriminant on a non-enum type
|
2018-10-24 23:39:54 -04:00 |
|
Hidehito Yabuuchi
|
d334fab4d0
|
Run util/update_lints.py
|
2018-10-24 15:00:28 +09:00 |
|
Oliver S̶c̶h̶n̶e̶i̶d̶e̶r Scherer
|
8b12eee112
|
Merge pull request #3233 from rust-lang-nursery/unused-unit
new lint: unused_unit
|
2018-10-13 09:30:19 +02:00 |
|
Andre Bogus
|
e8687a6677
|
unused unit lint
|
2018-10-13 00:42:55 +02:00 |
|
sigustin
|
34fd4af503
|
Specify which categories are enabled by default
Closes #3293
|
2018-10-12 12:15:20 +02:00 |
|
Oliver Scherer
|
b8654eaa6c
|
Stabilize tool lints
|
2018-10-11 12:16:22 +02:00 |
|
Manish Goregaokar
|
492d6852e5
|
Add license to README
|
2018-10-06 19:29:01 -07:00 |
|
Manish Goregaokar
|
ca437e81a7
|
Relicense clippy
Documentation on relicensing in previous commit
Fixes #2885
Also fixes #3093, fixes #3094, fixes 3095, fixes #3096, fixes #3097, fixes #3098,
fixes #3099, fixes #3100, fixes #3230
|
2018-10-06 09:43:08 -07:00 |
|
Manish Goregaokar
|
b94238f5b3
|
Mention -A and -W in readme
|
2018-10-02 10:42:14 +02:00 |
|
Michael Wright
|
f5ffac4fce
|
Implement unnecesary_filter_map lint
|
2018-09-26 06:52:36 +02:00 |
|
Hanaasagi
|
2b4d9d55b8
|
fix invalid travis-yaml in README
|
2018-09-25 22:40:17 +09:00 |
|
Jane Lusby
|
14feb3670f
|
Lint for chaining flatten after map
This change adds a lint to check for instances of `map(..).flatten()`
that can be trivially shortened to `flat_map(..)`
Closes #3196
|
2018-09-24 14:29:16 -07:00 |
|
Philipp Krones
|
b5c4342ef9
|
Merge pull request #3195 from JayKickliter/jsk/mem_replace_opt_w_none
Add lint for `mem::replace(.., None)`.
|
2018-09-23 10:23:48 +02:00 |
|
Manish Goregaokar
|
8e9f1a9d68
|
Mention rustup self update (fixes #3211)
|
2018-09-22 14:35:11 -07:00 |
|
Jay Kickliter
|
12c7bc1e58
|
mem_replace: apply update_lints tool.
|
2018-09-19 14:41:22 -07:00 |
|
Michael Wright
|
c06551aba7
|
Update lint list
|
2018-09-19 07:39:50 +02:00 |
|
Matthias Krüger
|
535f4c2b93
|
readme: show how to make the travis job fail when using clippy
|
2018-09-14 11:22:26 +02:00 |
|
Philipp Hansch
|
65b58de545
|
Explain Travis CI usage
Closes #2432
|
2018-09-14 08:22:38 +02:00 |
|
Philipp Hansch
|
c9c32a665e
|
Cleanup README for clippy-preview on stable
With the 1.29 release, the `clippy-preview` component will be available
on stable which means we don't need nightly/beta anymore.
|
2018-09-13 18:28:10 +02:00 |
|
Philipp Krones
|
49b1a8c775
|
README: More detailed explanation of tool_lints
cc #3164
|
2018-09-13 11:27:01 +02:00 |
|
Oliver S̶c̶h̶n̶e̶i̶d̶e̶r Scherer
|
63a46b1e1a
|
Merge pull request #3129 from mipli/3091-numeric-typo
Add lint for misstyped literal casting
|
2018-09-07 09:54:43 +02:00 |
|
Michael A. Plikk
|
38d287fecd
|
Add lint for misstyped literal casting
|
2018-09-05 19:46:49 +02:00 |
|
Philipp Hansch
|
273e11fcaf
|
Trigger rebuild for AppVeyor (and fix grammar)
|
2018-09-02 11:31:39 +02:00 |
|
flip1995
|
83baf8f5fe
|
Adapt documentation to the tool_lints
|
2018-08-29 11:08:29 -07:00 |
|
Manish Goregaokar
|
a43f8cf819
|
some readme clarifications
|
2018-07-16 13:39:38 -07:00 |
|
Jane Lusby
|
29cae6263b
|
Update readme for new clippy install method
|
2018-07-16 13:30:16 -07:00 |
|
Dale Wijnand
|
d95d6516b4
|
Consistently call it "Clippy", not clippy or rust-clippy
As per discussion on the Clippy 1.0 RFC
|
2018-07-05 11:37:50 +01:00 |
|
gnzlbg
|
7c4ec40346
|
add missing_inline lint
When turned on, the lint warns on all exported functions, methods,
trait methods (default impls, impls), that are not `#[inline]`.
Closes #1503.
|
2018-07-04 13:50:39 +02:00 |
|