bors
5699672b5b
Auto merge of #5674 - ThibsG:DocTypeDefinesMethod, r=yaahc,phansch,flip1995
...
Add doc for checking if type defines specific method
This PR adds documentation on how:
- check if a type defines a specific method
- check an expr is calling a specific method
closes : #3843
changelog: none
2020-06-06 10:32:02 +00:00
bors
b16d10117a
Auto merge of #5687 - flip1995:release_doc, r=phansch
...
Replace all remaining occurrences of submodule with subtree
r? @phansch
I should have included this in #5686 , but forgot about it, so here we go again.
changelog: none
2020-06-05 13:34:19 +00:00
flip1995
6b9e2e90bf
Replace all remaining occurrences of submodule with subtree
2020-06-05 14:53:23 +02:00
bors
6fc9939893
Auto merge of #5671 - ebroto:changelog_144_145, r=flip1995
...
Update changelog for stable:1.44 beta:1.45
[Rendered](https://github.com/ebroto/rust-clippy/blob/changelog_144_145/CHANGELOG.md )
changelog: none
2020-06-05 12:52:23 +00:00
flip1995
9ef15ae7c8
Reorder sections of release documentation
...
Before tagging a commit the beta branch has to be remerged
2020-06-05 13:56:07 +02:00
Eduardo Broto
dcd4806782
Apply suggestions from PR review
2020-06-02 20:45:57 +02:00
Eduardo Broto
a44fa387ef
Update documentation on changelog updates
2020-06-01 20:30:20 +02:00
ThibsG
9e89ba93fd
Add doc for checking if type defines certain method
2020-06-01 19:09:58 +02:00
ThibsG
827041252c
Add common lint tools doc
2020-05-25 20:03:55 +02:00
Eduardo Broto
f9013ff197
Relax fs layout so that multiple pass/fail manifests are possible
2020-05-21 15:34:48 +02:00
Eduardo Broto
5d0135e222
Add documentation for testing cargo lints
2020-05-21 14:11:11 +02:00
flip1995
451badeddf
Run fetch before testing if master contains beta
2020-04-23 23:25:35 +02:00
flip1995
c19ca0e8a8
The beta branch update should not require a force push
2020-04-23 23:25:35 +02:00
flip1995
4619bb243d
Add a note to the beta sections of release.md
2020-04-23 23:25:35 +02:00
bors
ef6ba82fee
Auto merge of #5495 - phansch:update_changelog_docs, r=flip1995
...
Update the changelog update documentation
I just started working on updating the changelog. Hopefully the docs are a bit clearer now?
r? @flip1995
changelog: none
2020-04-20 20:40:45 +00:00
Devin R
489dd2e504
factor ifs into function, add differing mutex test
2020-04-20 15:08:44 -04:00
Philipp Hansch
2141db84eb
Update the changelog update documentation
2020-04-20 20:39:49 +02:00
Devin R
ae820924c4
use if chain
2020-04-20 06:30:01 -04:00
Devin R
fca3537fa3
add note about update-all-refs script, revert redundant pat to master
2020-04-20 06:30:00 -04:00
xiongmao86
cf4e35339b
Add an Option<Span> argument to span_lint_and_help.
2020-04-18 18:28:29 +08:00
flip1995
2481d3c74a
Rename rustc -> rustc_middle in doc links
2020-04-04 17:01:42 +02:00
Philipp Krones
2a4493aaa6
Fix typo in release.md
...
Co-Authored-By: Phil Hansch <dev@phansch.net>
2020-03-30 19:32:48 +02:00
flip1995
d7440a0d7c
Document how to backport changes to beta
2020-03-25 19:52:58 +01:00
flip1995
14534fa071
Document how to create a Clippy release
2020-03-25 19:52:58 +01:00
flip1995
6525127c62
Update changelog_update doc to reflect the actual ordering of the changelog
2020-03-12 21:02:08 +01:00
Yuki Okushi
0de71b0e3a
Move links to the end of each chapter on adding_lints
2020-03-11 06:01:26 +09:00
Yuki Okushi
459fb53f8d
Clean-up adding_lints.md
2020-03-11 05:21:40 +09:00
Chris Simpkins
58dec1ca9c
update rust-lang.github.io to rustc-dev-guide.rust-lang.org
2020-03-09 17:58:39 -04:00
Chris Simpkins
d8167128fc
transition rustc-guide to rustc-dev-guide
2020-03-05 23:32:04 -05:00
flip1995
2635a602bc
Update some documentation
2020-02-14 14:37:56 +01:00
flip1995
757bbf7feb
Fix markdown Files
...
Rendered:
[CHANGELOG.md](https://github.com/flip1995/rust-clippy/blob/gha/CHANGELOG.md )
[CODE_OF_CONDUCT.md](https://github.com/flip1995/rust-clippy/blob/gha/CODE_OF_CONDUCT.md )
[CONTRIBUTING.md](https://github.com/flip1995/rust-clippy/blob/gha/CONTRIBUTING.md )
[README.md](https://github.com/flip1995/rust-clippy/blob/gha/README.md )
[clippy_dummy/PUBLISH.md](https://github.com/flip1995/rust-clippy/blob/gha/clippy_dummy/PUBLISH.md )
[doc/adding_lints.md](https://github.com/flip1995/rust-clippy/blob/gha/doc/adding_lints.md )
[etc/relicense/RELICENSE_DOCUMENTATION.md](https://github.com/flip1995/rust-clippy/blob/gha/etc/relicense/RELICENSE_DOCUMENTATION.md )
2020-02-12 09:34:25 +01:00
Krishna Sai Veera Reddy
1e117938cf
Remove unnecessary imports from documentation
2020-02-10 19:37:25 -08:00
Philipp Hansch
4d1a11d354
Deprecate util/dev in favor of cargo alias
...
If you've been using `./util/dev` before, this now becomes `cargo dev`.
The key part of this change is found in `.cargo/config`.
This means one less shell script and a bit more cross-platform support
for contributors.
2020-01-30 21:34:31 +01:00
Yuki Okushi
f60f12f71f
Rename span_help_and_lint
to span_lint_and_help
2020-01-27 11:17:58 +09:00
Yuki Okushi
84e4bc54e0
Remove trailing whitespaces
2020-01-20 10:56:02 +09:00
Brad Sherman
237a01d116
Update documentation for adding new lints
...
- Add instructions for adding new lints with
the new automation
2020-01-15 21:20:51 -06:00
Yuki Okushi
39947992b5
Rustup to rust-lang/rust#67806
2020-01-11 21:50:00 +09:00
Yuki Okushi
9086b17e14
Rustup to rust-lang/rust#67707
2019-12-31 09:17:56 +09:00
Matthias Krüger
98e433d70d
Rustup to rust-lang/rust#66878
2019-12-04 01:34:01 +01:00
Michael Zhang
3328cb25ce
Update adding_lints.md
2019-10-17 12:33:42 -04:00
Matthias Krüger
6038c31637
docs: fix broken link in adding_lints documantation
2019-09-11 21:53:12 +02:00
Luca Beetz
3390c512bc
Fix two occurences of TESTNAME=ui/foo_functions
...
This commit fixes two occurences of the wrong path to the foo_functions example test in doc/adding-lints.md
2019-09-06 00:54:49 +02:00
Luca Beetz
47d89ae27f
Remove ui/ from TESTNAME for foo lint example
2019-09-04 18:34:19 +02:00
Yuki Okushi
b348aae767
Add note to avoid confusing
2019-08-28 03:17:05 +09:00
bors
6d9ee9e5eb
Auto merge of #4372 - phansch:changelog_update, r=flip1995
...
docs: Explain how to update the changelog
cc @Manishearth Is this more or less how you did it last time?
[Rendered](https://github.com/phansch/rust-clippy/blob/changelog_update/doc/changelog_update.md#changelog-update )
changelog: none
2019-08-21 08:46:10 +00:00
Philipp Hansch
a0f9af2132
Add note on how to find the latest beta commit
2019-08-21 07:23:48 +02:00
Lzu Tao
93c77b7d01
Update if_chain doc link
2019-08-20 09:59:13 +07:00
KRAAI, MATTHEW [VISUS]
204b2f3658
Remove in_macro_or_desugar
2019-08-19 09:30:32 -07:00
Philipp Hansch
38c1971b43
Further text improvements
2019-08-12 19:19:46 +02:00
Philipp Hansch
c90eb4f4b3
Add image
2019-08-12 06:56:54 +02:00