Oliver S̶c̶h̶n̶e̶i̶d̶e̶r Scherer
dc164f4c46
Merge pull request #2985 from phansch/riir_update_lints
...
update_lints rewrite: Add structure and --print-only
2018-09-06 09:24:26 +02:00
Philipp Hansch
3bdc691a91
Pass by ref instead of value
2018-09-06 08:19:09 +02:00
Philipp Hansch
de36d42e80
More refactoring
2018-09-06 07:15:31 +02:00
Philipp Hansch
ca753c4af1
Merge pull request #3133 from matthiaskrgr/link
...
remove "clippy::" lint prefix from lint name in doc url.
2018-09-06 07:10:45 +02:00
Michael Wright
4f7a260472
driver: Improve check for rustc arg
...
The rustc arg might not be exactly "rustc". It may be any path to a rustc
executable (especially if the RUSTC environment variable is set when
executing cargo). Rather check that it is a path with 'rustc' file stem.
2018-09-06 07:01:56 +02:00
Josh Mcguigan
4b668159d2
Closes #1219 false positive for explicit_counter_loop
2018-09-05 19:14:01 -07:00
Matthias Krüger
554fe1ed5c
remove "clippy::" lint prefix from lint name in doc url.
...
Fixes #3132
2018-09-06 00:45:57 +02:00
Michael A. Plikk
38d287fecd
Add lint for misstyped literal casting
2018-09-05 19:46:49 +02:00
Oliver S̶c̶h̶n̶e̶i̶d̶e̶r Scherer
ebb88a4208
Merge pull request #3131 from JoshMcguigan/ptr_arg-2293
...
Fix #2293 - ptr_arg
2018-09-05 16:22:03 +02:00
Josh Mcguigan
0f6d422817
Added test case for ptr_arg
2018-09-05 05:59:07 -07:00
Philipp Hansch
20836d3003
Remove duplicated .gitignore
2018-09-05 13:35:57 +02:00
Philipp Hansch
79bec036f8
Return impl Iterator instead of Vec<Lint>
...
This makes the API of `lib.rs` a bit more flexible.
2018-09-05 13:34:28 +02:00
Philipp Krones
ed38d9c79f
Merge pull request #3108 from daubaris/range-plus-one
...
range_plus_one suggestion should not remove braces fix
2018-09-04 21:13:30 +02:00
daubaris
009c29069c
switched to ticks for chars
2018-09-04 18:56:48 +03:00
daubaris
db391c4613
Merge branch 'master' of https://github.com/rust-lang-nursery/rust-clippy into range-plus-one
2018-09-04 18:52:18 +03:00
Oliver S̶c̶h̶n̶e̶i̶d̶e̶r Scherer
b7587d8176
Merge pull request #3125 from nrc/pub-conf
...
Make `Default` do what `default` used to do
2018-09-04 10:09:38 +02:00
Oliver S̶c̶h̶n̶e̶i̶d̶e̶r Scherer
f5804dd906
Merge pull request #3124 from phansch/cleanup_old_min_version_stuff
...
Cleanup old min_version stuff
2018-09-04 10:09:10 +02:00
Oliver S̶c̶h̶n̶e̶i̶d̶e̶r Scherer
df646a88a9
Merge pull request #3109 from shssoichiro/3034-needless-collect
...
Lint against needless uses of `collect()`
2018-09-04 10:07:11 +02:00
Josh Holmer
f7d2aeefe8
Delete needless file
2018-09-04 00:00:06 -04:00
Josh Holmer
ed9cd1530d
More if_chain
2018-09-03 23:58:10 -04:00
Josh Holmer
48e6be42d7
Rustup
2018-09-03 23:50:24 -04:00
Josh Holmer
061b2f3057
Apply applicability
2018-09-03 23:29:44 -04:00
Josh Holmer
dfed9751bd
Majority of PR changes
2018-09-03 23:29:44 -04:00
Josh Holmer
fbc93c0166
Lint against needless uses of collect()
...
Handles cases of `.collect().len()`, `.collect().is_empty()`, and
`.collect().contains()`. This lint is intended to be generic enough to
be added to at a later time with other similar patterns that could be
optimized.
Closes #3034
2018-09-03 23:29:44 -04:00
Nick Cameron
4050a68989
Make Default
do what default
used to do
2018-09-04 09:13:48 +12:00
Philipp Hansch
20318ebc22
Cleanup old min_version stuff
...
This cleans up a few leftover things after
https://github.com/rust-lang-nursery/rust-clippy/pull/3018
2018-09-03 22:27:35 +02:00
Philipp Hansch
be995dc0e8
Run clippy on clippy_dev, too
2018-09-03 22:20:36 +02:00
Philipp Hansch
586ef4ed72
Refactor to use into_group_map from Itertools
2018-09-03 22:18:53 +02:00
Philipp Hansch
78d358b861
s/direntry/dir_entry
2018-09-03 22:18:53 +02:00
Philipp Hansch
70312430dd
Use insignificant whitespace mode for nice regex
2018-09-03 22:18:53 +02:00
Philipp Hansch
502357df65
cargo update in clippy_dev
2018-09-03 22:18:53 +02:00
Philipp Hansch
35f100b4f9
update_lints rewrite: Add structure and --print-only
2018-09-03 22:18:51 +02:00
daubaris
2f0a99a3a4
fixed known problems expression
2018-09-03 23:01:28 +03:00
daubaris
1f3676f7d0
Merge branch 'master' of https://github.com/rust-lang-nursery/rust-clippy into range-plus-one
2018-09-03 18:24:47 +03:00
daubaris
b825578a4a
backticks and testcase
2018-09-03 18:24:38 +03:00
Philipp Hansch
c0513097ab
Merge pull request #3092 from illicitonion/issue-2879
...
default_trait_access skips <F as Default>::default()
2018-09-03 17:24:33 +02:00
daubaris
1615a8a2b6
Merge branch 'master' of https://github.com/rust-lang-nursery/rust-clippy into range-plus-one
2018-09-03 17:21:13 +03:00
Manish Goregaokar
78ec6e38b4
Merge pull request #3120 from rust-lang-nursery/ci_integration
...
Update travis integration tests to tool_lints
2018-09-03 09:37:18 +00:00
Philipp Krones
f5376a30a8
Merge pull request #3119 from joshtriplett/a-message-from-the-save-the-iters-foundation
...
iter conservation efforts: save the endangered .iter() and .into_iter()
2018-09-03 10:55:43 +02:00
Philipp Krones
4139207956
Update travis integration tests to tool_lints
...
`clippy_pedantic` -> `clippy::pedantic`
`clippy_nursery` -> `clippy::nursery`
2018-09-03 10:52:42 +02:00
Josh Triplett
779988303a
iter conservation efforts: save the endangered .iter() and .into_iter()
...
Make explicit_iter_loop and explicit_into_iter_loop allow-by-default, so
that people can turn them on if they want to enforce that style; avoid
presenting them as *the* idiomatic Rust style, rather than just *a* style.
2018-09-03 01:24:46 -07:00
Philipp Hansch
2b7a5304f6
Merge pull request #3116 from phansch/fix_warning
...
Fix clippy -> clippy::all warning in CI
2018-09-03 07:35:24 +01:00
Philipp Hansch
f3839f0c1a
Fix clippy -> clippy::all warning in CI
2018-09-03 08:03:05 +02:00
Manish Goregaokar
2d0b7db980
Merge pull request #3115 from rust-lang-nursery/rm-token
...
Remove dependence of ci on github token
2018-09-03 05:48:46 +00:00
Manish Goregaokar
79d81ac3e7
Remove dependence of ci on github token
2018-09-03 09:20:15 +05:30
Manish Goregaokar
1d13c1f998
Merge pull request #2941 from rust-lang-nursery/prs
...
Run travis on rustc-master instead of nightly
2018-09-03 08:14:45 +05:30
Manish Goregaokar
6141339f88
Merge pull request #3114 from nrc/pub-conf
...
Make `Conf::default` available
2018-09-03 07:36:58 +05:30
Nick Cameron
d6f01f3a6c
Make Conf::default
available
...
Fixes RLS
2018-09-03 13:57:50 +12:00
Daniel Wagner-Hall
9f0216d520
Merge branch 'master' into issue-2879
2018-09-03 00:01:57 +01:00
Daniel Wagner-Hall
939d842ea1
Simplify
2018-09-02 23:42:07 +01:00