Commit Graph

4721 Commits

Author SHA1 Message Date
Manish Goregaokar
b94238f5b3 Mention -A and -W in readme 2018-10-02 10:42:14 +02:00
Manish Goregaokar
be1094bd8d ScalarMaybeUndef -> Scalar (Rustup to e812ca472a) 2018-10-02 10:35:26 +02:00
Manish Goregaokar
fca805382b
Merge pull request #3247 from rust-lang-nursery/dummy
Add dummy clippy crate for publishing
2018-10-02 10:03:03 +02:00
Manish Goregaokar
6c1d6391ec publish = false 2018-10-02 10:02:31 +02:00
Manish Goregaokar
a930e778c2 Add dummy clippy crate for publishing 2018-10-02 10:02:31 +02:00
Oliver S̶c̶h̶n̶e̶i̶d̶e̶r Scherer
788c838fc1
Merge pull request #3248 from phansch/fix_ice_2831
Fix 'impossible case reached' ICE
2018-10-02 09:18:09 +02:00
Philipp Hansch
eb5f146f14
Fix 'impossible case reached' ICE 2018-10-01 22:34:52 +02:00
flip1995
14335f372b
Disable dogfood until rust-lang-nursery/rustup.rs#1499 is merged 2018-09-30 12:59:15 +02:00
Philipp Krones
5f9af5f69c
Merge pull request #3242 from matthiaskrgr/rm_cargo_ed_feat
remove cargo edition 2018 feature gate.
2018-09-30 12:27:44 +02:00
Philipp Hansch
5c88fc80a5
Merge pull request #3241 from phansch/remove_clippy_service
Remove clippy-service update from CI
2018-09-30 11:12:49 +01:00
Philipp Hansch
b43d7e74e0
Remove clippy-service token 2018-09-30 11:28:35 +02:00
Matthias Krüger
91f7e22edf remove cargo edition 2018 feature gate.
Rust and the cargo used to bootstrap was updated in https://github.com/rust-lang/rust/pull/54601 which now has the 2018 edition stabilized.
2018-09-30 11:12:24 +02:00
Philipp Hansch
1d754e7957
Merge pull request #3240 from matthiaskrgr/travis_3239
travis: sleep after putting out logs (try to fix truncated logs)
2018-09-30 09:57:16 +01:00
Philipp Hansch
9bfe528531
Remove clippy-service update from CI
clippy-service hasn't been working for a long time now.
2018-09-30 10:55:36 +02:00
Matthias Krüger
7d996724df travis: sleep after putting out logs (try to fix truncated logs) 2018-09-30 10:30:51 +02:00
Philipp Hansch
9d0b79d392
Merge pull request #3223 from mikerite/unnecessary_filter_map
Implement unnecesary_filter_map lint
2018-09-30 08:16:33 +01:00
Michael Wright
50133fbd3a Merge branch 'master' into unnecessary_filter_map 2018-09-30 06:39:56 +02:00
Michael Wright
f01fa227c0 Fix update_lints.py for dir modules 2018-09-30 06:25:23 +02:00
Philipp Hansch
37ba42b7bc
Merge pull request #3235 from matthiaskrgr/rustc_tools__beta_fix
rustc_tools_util: don't require test feature.
2018-09-29 19:33:21 +01:00
Matthias Krüger
34693c0d6d rustc_tools_util: remove test and tool_lints features, both are actually unused.
Fixes build with beta.
2018-09-29 19:34:38 +02:00
Philipp Krones
4cb16e619f
Merge pull request #3238 from JoshMcguigan/excessive_precision-3180
Fixes #3180, suppress excessive_precision lint for floats with no decimal part
2018-09-29 17:46:15 +02:00
Josh Mcguigan
e25f884e6f Fixes #3180, suppress excessive_precision lint for floats with no decimal part 2018-09-29 07:39:30 -07:00
Michael Wright
c2ee9c29ab Merge branch 'master' into unnecessary_filter_map 2018-09-29 15:27:47 +02:00
Michael Wright
06f6b36025 rustfmt 2018-09-29 14:18:50 +02:00
Michael Wright
efdc739dfc Move unnecessary_filter_map to a submodule 2018-09-29 14:12:40 +02:00
Michael Wright
db5c63b77a Move tests into separate file 2018-09-29 13:57:04 +02:00
Philipp Krones
67d85bc47d
Merge pull request #3224 from matthiaskrgr/clippy_self__use_self
fix some clippy::pedantic warnings found in the codebase.
2018-09-28 15:26:50 +02:00
Philipp Hansch
8e808664fa
Merge pull request #3178 from ms2300/bad_unwrap
Fix for bad get unwrap suggestion
2018-09-28 07:38:00 +01:00
Philipp Hansch
6b17ce4267
Merge pull request #3227 from matthiaskrgr/cargo_lock
consistently gitignore all Cargo.lock files
2018-09-28 07:24:51 +01:00
Matthias Krüger
e7b820d626 consistently gitignore all Cargo.lock files 2018-09-27 12:34:16 +02:00
Michael Wright
4b4d758ce0 Fix warnings in clippy_lints 2018-09-27 06:29:48 +02:00
Michael Wright
2f364d9ac5 Merge branch 'master' into unnecessary_filter_map 2018-09-27 06:12:01 +02:00
Matthias Krüger
9fae4693f9 fix clippy::single-match-else and clippy::match_same_arms warnings in clippys codebase 2018-09-26 22:25:01 +02:00
Matthias Krüger
2a31937cc9 fix all clippy::use_self pedantic warnings found in the codebase.
cc #3172
2018-09-26 22:24:18 +02:00
Philipp Hansch
a72e786c5d
Merge pull request #3226 from matthiaskrgr/rustup_smallvec
rustup
2018-09-26 17:48:43 +01:00
Philipp Hansch
66afff9642
Merge pull request #3225 from matthiaskrgr/dogfood
tests: dogfood: extend to run with --all-features and clippy::internal enabled.
2018-09-26 17:47:51 +01:00
Matthias Krüger
fc35c20a0a rustup
fix breakage by https://github.com/rust-lang/rust/pull/53824

use smallvec crate instead of rustcs type alias.
2018-09-26 15:57:38 +02:00
Matthias Krüger
41d3df7321 tests: dogfood: extend to run with --all-features and clippy::internal enabled.
Run it on rustc_tools_util and clippy_dev as well.
2018-09-26 12:32:20 +02:00
Michael Wright
f5ffac4fce Implement unnecesary_filter_map lint 2018-09-26 06:52:36 +02:00
Manish Goregaokar
cdde22c2cc
Merge pull request #3218 from Hanaasagi/fix-travis-yaml-demo
fix invalid travis-yaml in README
2018-09-25 07:05:32 -07:00
Hanaasagi
2b4d9d55b8 fix invalid travis-yaml in README 2018-09-25 22:40:17 +09:00
Philipp Krones
e3f7b40b03
Merge pull request #3203 from yaahallo/master
Lint for chaining flatten after map
2018-09-25 12:54:48 +02:00
Philipp Hansch
1be78b90ac
Merge pull request #3212 from matthiaskrgr/clippy_dev_ed2018
clippy_dev: port to edition 2018
2018-09-25 07:27:12 +01: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
mikerite
417cf206ca
Merge pull request #3213 from mikerite/fix-3204
Fix single_char_pattern crash (#3204)
2018-09-24 09:11:32 +02:00
Michael Wright
ab71f08663 Fix single_char_pattern crash (#3204)
This commit fixes the crash by removing constant checking from the lint.

Closes #3204.
2018-09-24 08:33:57 +02:00
ms2300
523ba2a009 Full fix of get unwrap issue 2018-09-23 19:53:25 -07:00
ms2300
de8d233b06 #3006 : Fixing for .get().unwrap().foo() 2018-09-23 19:53:25 -07:00
Philipp Krones
bc6d85ceaf
Merge pull request #3207 from mikerite/fix-3206
Fix double_parens false positive
2018-09-23 18:24:27 +02:00
Philipp Krones
af2d6a0c14
Merge pull request #3191 from vi/suggest_with_applicability
Use span_suggestion_with_applicability instead of span_suggestion
2018-09-23 15:45:55 +02:00