Commit graph

4453 commits

Author SHA1 Message Date
Philipp Hansch
f72cfc2985
Mention rustup component history 2018-09-20 07:10:23 +02:00
Philipp Hansch
2b57cec649
s/rustc/Rust/ 2018-09-20 06:58:07 +02:00
Philipp Hansch
f9511bfdc3
s/rust/Rust, repeat 'Clippy' less 2018-09-20 06:56:51 +02:00
Philipp Hansch
9c50aa8810
Mention how to install master Rust in CONTRIBUTING 2018-09-19 21:15:08 +02:00
Philipp Hansch
3fee6d6438
Merge pull request #3197 from mikerite/travis_lint_list
Make travis check lint list
2018-09-19 19:44:23 +01:00
Philipp Hansch
b6707ffc42
Merge pull request #3187 from flip1995/internal_fn
New internal lint: compiler_lint_functions
2018-09-19 19:43:48 +01:00
Michael Wright
c06551aba7 Update lint list 2018-09-19 07:39:50 +02:00
Michael Wright
c52b33decb Make travis check lint list 2018-09-19 07:05:36 +02:00
Philipp Krones
125907ad08
Merge pull request #3194 from flip1995/c_void
Fix c_void path
2018-09-17 11:44:06 +02:00
flip1995
a8b681cc2c
Fix c_void path
This got changed in rust-lang/rust#53910
2018-09-17 11:20:27 +02:00
Philipp Krones
d366710a01
Merge pull request #3192 from mikerite/refactor_20180916
Remove unneeded check for method call
2018-09-16 13:46:12 +02:00
Michael Wright
c78cf042ff Remove unneeded check for method call
The check can be removed because the call to `method_chains_args`
already performs this check.
2018-09-16 13:08:00 +02:00
Eduard-Mihai Burtescu
183639b70b
Merge pull request #3190 from eddyb/rextern-2
Reintroduce `extern crate` for non-Cargo dependencies, in tests.
2018-09-15 14:05:10 +03:00
Eduard-Mihai Burtescu
407ff8d6be Reintroduce extern crate for non-Cargo dependencies, in tests. 2018-09-15 13:37:21 +03:00
Philipp Krones
fbb6b13140
Merge pull request #3068 from matthiaskrgr/string
convert "".to_string() and "".to_owned() to String::new()
2018-09-15 11:56:11 +02:00
flip1995
021748eb6a
Replace another occurrence of "".to_owned() 2018-09-15 11:25:40 +02:00
Matthias Krüger
f3add4acb4
convert "".to_string() and "".to_owned() to String::new() 2018-09-15 11:20:35 +02:00
flip1995
144281c537
Formatting 2018-09-15 11:02:00 +02:00
flip1995
a4e1a90705
Fix warnings of compiler_lint_functions 2018-09-15 11:02:00 +02:00
flip1995
aaeeaa5330
Add internal lint compiler_lint_functions 2018-09-15 11:01:16 +02:00
Oliver S̶c̶h̶n̶e̶i̶d̶e̶r Scherer
f166b7d2f4
Merge pull request #3189 from eddyb/rextern
Reintroduce `extern crate` for non-Cargo dependencies.
2018-09-15 10:34:09 +02:00
Eduard-Mihai Burtescu
c70bfb2cac Revert "the cargo feature: edition 2018 is stabilized in current nightly"
This reverts commit 404a09d61c.
2018-09-15 11:16:45 +03:00
Eduard-Mihai Burtescu
85caaf5905 Fix useless_attribute to also whitelist unused_extern_crates. 2018-09-15 11:16:45 +03:00
Eduard-Mihai Burtescu
9219fc6c5c Reintroduce extern crate for non-Cargo dependencies. 2018-09-15 11:10:51 +03:00
Philipp Hansch
4aaef72fa0
Merge pull request #3186 from flip1995/pedantic_filter_map
Fix pedantic filter_map warnings
2018-09-14 19:47:50 +01:00
flip1995
582ab5a0d0
Reapply: "the cargo feature: edition 2018 is stabilized in current nightly"
This reapplies commit 404a09d.

Cargo got bumped in rust-lang/rust#54210
2018-09-14 13:43:20 +02:00
flip1995
f49f133cba
Fix pedantic filter_map warnings 2018-09-14 12:56:25 +02:00
Philipp Hansch
daa922393c
Merge pull request #3185 from matthiaskrgr/readme_travis
readme: show how to make the travis job fail when using clippy
2018-09-14 10:54:37 +01: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
e270050427
Merge pull request #3182 from phansch/explain_travis
Explain Travis CI usage
2018-09-14 09:12:25 +01:00
Philipp Hansch
3df5b44238
Merge pull request #3184 from rust-lang-nursery/rustup
Add match on StructCtor
2018-09-14 08:41:58 +01:00
Manish Goregaokar
7b530c79b2 Add match on StructCtor 2018-09-14 12:41:20 +05:30
Philipp Hansch
65b58de545
Explain Travis CI usage
Closes #2432
2018-09-14 08:22:38 +02:00
Philipp Hansch
dac5e2d3a5
Merge pull request #3140 from matthiaskrgr/redundant_casts
fix warnings about trivial casts, mostly {i,u}128 -> {i,u}128, such as "i128::min_value() as i128"
2018-09-13 20:37:13 +01:00
Philipp Krones
fd86f8f14a
Merge pull request #3174 from matthiaskrgr/RTU_clippy_cleanup
rustc_tools_util: clean up pedantic clippy warnings
2018-09-13 21:19:16 +02:00
Philipp Hansch
db031c2595
Merge pull request #3173 from phansch/update_issue_template
Update ISSUE_TEMPLATE
2018-09-13 19:09:45 +01:00
Philipp Hansch
75111def13
Merge pull request #3165 from phansch/cleanup_readme_for_clippy_preview_on_stable
Cleanup README for clippy-preview on stable
2018-09-13 19:06:26 +01:00
Matthias Krüger
19802f8652 rustc_tools_util: clean up pedantic clippy warnings 2018-09-13 19:06:04 +02:00
Philipp Hansch
86afd26a6e
Update ISSUE_TEMPLATE 2018-09-13 18:31:39 +02:00
Philipp Hansch
c42cd60926
Remove rust-update script
We no longer need this as clippy is installed through rustup now.
2018-09-13 18:28:14 +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 Hansch
07cb45bc85
Merge pull request #3166 from flip1995/travis_internal
Run internal lints on the Clippy code base
2018-09-13 17:22:48 +01:00
Manish Goregaokar
d15b6009ee
Merge pull request #3171 from rust-lang-nursery/README-tool-lints
README: More detailed explanation of tool_lints
2018-09-13 15:06:54 +05:30
Philipp Krones
49b1a8c775
README: More detailed explanation of tool_lints
cc #3164
2018-09-13 11:27:01 +02:00
Matthias Krüger
28424ecbfa fix warnings about trivial casts, mostly {i,u}128 -> {i,u}128, such as "i128::min_value() as i128" 2018-09-13 07:59:12 +02:00
Philipp Hansch
e8400061bd
Merge pull request #3085 from mikerite/revert-98dbce
Revert "Fix E0502 warnings"
2018-09-13 06:33:26 +01:00
mikerite
5c5f2a8412
Merge pull request #3169 from yangby-cryptape/fix-typo-in-examples
Fix typo in examples.
2018-09-13 07:24:41 +02:00
Boyu Yang
4827ab978e
Remove a wrong suggestion. 2018-09-13 13:01:23 +08:00
Boyu Yang
60e8da1647
Fix typo in examples. 2018-09-13 11:51:58 +08:00
flip1995
e28440d2e0
Change Hash{Map, Set} to FxHash{Map, Set} 2018-09-12 01:34:52 +02:00