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 |
|
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 |
|
flip1995
|
99d1cde8d8
|
Document how to write tests requiring the 2018 edition
|
2019-08-09 19:14:59 +02:00 |
|
Lzu Tao
|
5cad46d15a
|
template: Update how to format source code with ./util/dev
|
2019-08-08 21:37:19 +07:00 |
|
flip1995
|
3977843ab5
|
Update documentation to the dev fmt command
|
2019-07-07 15:11:38 +02:00 |
|
Lzu Tao
|
7f8e7c0772
|
doc: Remove pub from trait definition in foo lint example
|
2019-06-01 19:51:49 +07:00 |
|
Manish Goregaokar
|
7eb8018554
|
Rename in_macro to in_macro_or_desugar
|
2019-05-11 21:39:02 -07:00 |
|
Matthew Kraai
|
24bb63383a
|
Document declare_lint_pass!
|
2019-04-17 06:51:21 -07:00 |
|
Oliver Scherer
|
3b0185be45
|
Update adding_lints.md
|
2019-04-16 15:16:08 +02:00 |
|
Mark Catley
|
5c8c487851
|
Add implementation for the EarlyLintPass trait into the Adding Lints documentation.
To follow along with the adding lint documentation you need to implement this trait in order to register the lint pass.
|
2019-03-19 13:39:19 +13:00 |
|
Philipp Hansch
|
34685a5f60
|
Update comment location
|
2019-03-08 08:50:13 +01:00 |
|
Philipp Hansch
|
3c67c629fd
|
Add rustc nightly docs to cheatsheet
|
2019-03-04 20:43:11 +01:00 |
|
Philipp Hansch
|
d1caaa47c0
|
s/you/we; One more checklist item
|
2019-03-04 20:39:28 +01:00 |
|
Philipp Hansch
|
8d2cbb94d4
|
Add the rustc guide to the cheatsheet
|
2019-03-03 15:03:25 +01:00 |
|
Philipp Hansch
|
23f3256e96
|
More text fixes after Test section was moved to top
|
2019-03-03 15:03:25 +01:00 |
|
Philipp Hansch
|
0da3521eb6
|
Reword 'Setup' a bit
|
2019-03-03 15:03:25 +01:00 |
|
Philipp Hansch
|
b03011480c
|
Note that stderr files don't have to be created manually
|
2019-03-03 15:03:25 +01:00 |
|
Philipp Hansch
|
81f47e1ffc
|
Author lint usage via playground
|
2019-03-03 15:03:25 +01:00 |
|
Philipp Hansch
|
68d04eda7b
|
Copy from CONTRIBUTING.md: author lint, rustfix tests, rustfmt
And adapt the wording a bit so that it fits in the overall guide.
|
2019-03-03 15:03:25 +01:00 |
|
Philipp Hansch
|
ca35e6750e
|
Mention Clippy utils
|
2019-03-03 15:03:25 +01:00 |
|
Philipp Hansch
|
81ad4427a4
|
Remind to run update-all-references.sh at the end
|
2019-03-03 15:03:25 +01:00 |
|
Philipp Hansch
|
9ff1340a69
|
Use positive if condition for readability
|
2019-03-03 15:03:25 +01:00 |
|
Philipp Hansch
|
2851f9f707
|
Expand on lint implementation section, wrap lines
|
2019-03-03 15:03:25 +01:00 |
|
Wilco Kusee
|
ef97c13f5e
|
Implicit return
Co-Authored-By: phansch <dev@phansch.net>
|
2019-03-03 15:03:25 +01:00 |
|
Wilco Kusee
|
c83b0298d7
|
Implicit return
Co-Authored-By: phansch <dev@phansch.net>
|
2019-03-03 15:03:25 +01:00 |
|
Philipp Hansch
|
12b2696634
|
Add lint writing documentation
This adds a new documentation page that explains how to write Clippy
lints. It guides the reader through creating a `foo` function lint.
|
2019-03-03 15:03:25 +01:00 |
|