]>
git.lizzy.rs Git - rust.git/log
O01eg [Wed, 3 Oct 2018 18:41:02 +0000 (21:41 +0300)]
Allow to debug rustc_driver via logs.
Oliver S̶c̶h̶n̶e̶i̶d̶e̶r Scherer [Wed, 3 Oct 2018 09:48:31 +0000 (11:48 +0200)]
Merge pull request #3252 from rust-lang-nursery/rustup
Fix push_item_path call (rustup to
4cf11765dc98536c6eedf33f2df7f72f6e161263)
Manish Goregaokar [Wed, 3 Oct 2018 09:02:50 +0000 (02:02 -0700)]
Oliver S̶c̶h̶n̶e̶i̶d̶e̶r Scherer [Tue, 2 Oct 2018 12:54:36 +0000 (14:54 +0200)]
Merge pull request #3245 from JoshMcguigan/wrong_self_convention-1530
Correct false positive in wrong_self_convention lint for to_mut
Josh Mcguigan [Mon, 1 Oct 2018 11:47:06 +0000 (04:47 -0700)]
Correct false positive in wrong_self_convention lint for to_mut
Manish Goregaokar [Tue, 2 Oct 2018 10:20:14 +0000 (12:20 +0200)]
Merge pull request #3243 from flip1995/appveyor_disable_dogfood
Disable dogfood under windows until rust-lang-nursery/rustup.rs#1499 is merged
Manish Goregaokar [Tue, 2 Oct 2018 09:10:40 +0000 (11:10 +0200)]
Merge pull request #3249 from rust-lang-nursery/rustup
ScalarMaybeUndef -> Scalar (Rustup to
e812ca472a2a5284e9f15cd9af32285d7ff3fd39)
Manish Goregaokar [Tue, 2 Oct 2018 09:03:39 +0000 (11:03 +0200)]
Merge pull request #3250 from rust-lang-nursery/levels-readme
Mention -A and -W in readme
Manish Goregaokar [Tue, 2 Oct 2018 08:39:51 +0000 (10:39 +0200)]
Mention -A and -W in readme
Manish Goregaokar [Tue, 2 Oct 2018 08:35:26 +0000 (10:35 +0200)]
Manish Goregaokar [Tue, 2 Oct 2018 08:03:03 +0000 (10:03 +0200)]
Merge pull request #3247 from rust-lang-nursery/dummy
Add dummy clippy crate for publishing
Manish Goregaokar [Tue, 2 Oct 2018 07:58:02 +0000 (09:58 +0200)]
publish = false
Manish Goregaokar [Mon, 1 Oct 2018 20:03:07 +0000 (22:03 +0200)]
Add dummy clippy crate for publishing
Oliver S̶c̶h̶n̶e̶i̶d̶e̶r Scherer [Tue, 2 Oct 2018 07:18:09 +0000 (09:18 +0200)]
Merge pull request #3248 from phansch/fix_ice_2831
Fix 'impossible case reached' ICE
Philipp Hansch [Mon, 1 Oct 2018 20:33:20 +0000 (22:33 +0200)]
Fix 'impossible case reached' ICE
flip1995 [Sun, 30 Sep 2018 10:59:15 +0000 (12:59 +0200)]
Disable dogfood until rust-lang-nursery/rustup.rs#1499 is merged
Philipp Krones [Sun, 30 Sep 2018 10:27:44 +0000 (12:27 +0200)]
Merge pull request #3242 from matthiaskrgr/rm_cargo_ed_feat
remove cargo edition 2018 feature gate.
Philipp Hansch [Sun, 30 Sep 2018 10:12:49 +0000 (11:12 +0100)]
Merge pull request #3241 from phansch/remove_clippy_service
Remove clippy-service update from CI
Philipp Hansch [Sun, 30 Sep 2018 09:28:35 +0000 (11:28 +0200)]
Remove clippy-service token
Matthias Krüger [Sun, 30 Sep 2018 09:12:24 +0000 (11:12 +0200)]
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.
Philipp Hansch [Sun, 30 Sep 2018 08:57:16 +0000 (09:57 +0100)]
Merge pull request #3240 from matthiaskrgr/travis_3239
travis: sleep after putting out logs (try to fix truncated logs)
Philipp Hansch [Sun, 2 Sep 2018 11:20:30 +0000 (13:20 +0200)]
Remove clippy-service update from CI
clippy-service hasn't been working for a long time now.
Matthias Krüger [Sun, 30 Sep 2018 08:30:51 +0000 (10:30 +0200)]
travis: sleep after putting out logs (try to fix truncated logs)
Philipp Hansch [Sun, 30 Sep 2018 07:16:33 +0000 (08:16 +0100)]
Merge pull request #3223 from mikerite/unnecessary_filter_map
Implement unnecesary_filter_map lint
Michael Wright [Sun, 30 Sep 2018 04:39:56 +0000 (06:39 +0200)]
Merge branch 'master' into unnecessary_filter_map
Michael Wright [Sun, 30 Sep 2018 04:25:23 +0000 (06:25 +0200)]
Fix update_lints.py for dir modules
Philipp Hansch [Sat, 29 Sep 2018 18:33:21 +0000 (19:33 +0100)]
Merge pull request #3235 from matthiaskrgr/rustc_tools__beta_fix
rustc_tools_util: don't require test feature.
Matthias Krüger [Sat, 29 Sep 2018 17:33:30 +0000 (19:33 +0200)]
rustc_tools_util: remove test and tool_lints features, both are actually unused.
Fixes build with beta.
Philipp Krones [Sat, 29 Sep 2018 15:46:15 +0000 (17:46 +0200)]
Merge pull request #3238 from JoshMcguigan/excessive_precision-3180
Fixes #3180, suppress excessive_precision lint for floats with no decimal part
Josh Mcguigan [Sat, 29 Sep 2018 14:39:30 +0000 (07:39 -0700)]
Fixes #3180, suppress excessive_precision lint for floats with no decimal part
Michael Wright [Sat, 29 Sep 2018 13:27:47 +0000 (15:27 +0200)]
Merge branch 'master' into unnecessary_filter_map
Michael Wright [Sat, 29 Sep 2018 12:18:50 +0000 (14:18 +0200)]
rustfmt
Michael Wright [Sat, 29 Sep 2018 12:12:40 +0000 (14:12 +0200)]
Move unnecessary_filter_map to a submodule
Michael Wright [Sat, 29 Sep 2018 11:57:04 +0000 (13:57 +0200)]
Move tests into separate file
Philipp Krones [Fri, 28 Sep 2018 13:26:50 +0000 (15:26 +0200)]
Merge pull request #3224 from matthiaskrgr/clippy_self__use_self
fix some clippy::pedantic warnings found in the codebase.
Philipp Hansch [Fri, 28 Sep 2018 06:38:00 +0000 (07:38 +0100)]
Merge pull request #3178 from ms2300/bad_unwrap
Fix for bad get unwrap suggestion
Philipp Hansch [Fri, 28 Sep 2018 06:24:51 +0000 (07:24 +0100)]
Merge pull request #3227 from matthiaskrgr/cargo_lock
consistently gitignore all Cargo.lock files
Matthias Krüger [Thu, 27 Sep 2018 10:31:28 +0000 (12:31 +0200)]
consistently gitignore all Cargo.lock files
Michael Wright [Thu, 27 Sep 2018 04:29:48 +0000 (06:29 +0200)]
Fix warnings in clippy_lints
Michael Wright [Thu, 27 Sep 2018 04:12:01 +0000 (06:12 +0200)]
Merge branch 'master' into unnecessary_filter_map
Matthias Krüger [Wed, 26 Sep 2018 09:44:50 +0000 (11:44 +0200)]
fix clippy::single-match-else and clippy::match_same_arms warnings in clippys codebase
Matthias Krüger [Wed, 26 Sep 2018 09:32:05 +0000 (11:32 +0200)]
fix all clippy::use_self pedantic warnings found in the codebase.
cc #3172
Philipp Hansch [Wed, 26 Sep 2018 16:48:43 +0000 (17:48 +0100)]
Merge pull request #3226 from matthiaskrgr/rustup_smallvec
rustup
Philipp Hansch [Wed, 26 Sep 2018 16:47:51 +0000 (17:47 +0100)]
Merge pull request #3225 from matthiaskrgr/dogfood
tests: dogfood: extend to run with --all-features and clippy::internal enabled.
Matthias Krüger [Wed, 26 Sep 2018 13:57:38 +0000 (15:57 +0200)]
rustup
fix breakage by https://github.com/rust-lang/rust/pull/53824
use smallvec crate instead of rustcs type alias.
Matthias Krüger [Wed, 26 Sep 2018 10:32:20 +0000 (12:32 +0200)]
tests: dogfood: extend to run with --all-features and clippy::internal enabled.
Run it on rustc_tools_util and clippy_dev as well.
Michael Wright [Wed, 26 Sep 2018 04:52:36 +0000 (06:52 +0200)]
Implement unnecesary_filter_map lint
Manish Goregaokar [Tue, 25 Sep 2018 14:05:32 +0000 (07:05 -0700)]
Merge pull request #3218 from Hanaasagi/fix-travis-yaml-demo
fix invalid travis-yaml in README
Hanaasagi [Tue, 25 Sep 2018 13:40:17 +0000 (22:40 +0900)]
fix invalid travis-yaml in README
Philipp Krones [Tue, 25 Sep 2018 10:54:48 +0000 (12:54 +0200)]
Merge pull request #3203 from yaahallo/master
Lint for chaining flatten after map
Philipp Hansch [Tue, 25 Sep 2018 06:27:12 +0000 (07:27 +0100)]
Merge pull request #3212 from matthiaskrgr/clippy_dev_ed2018
clippy_dev: port to edition 2018
Jane Lusby [Fri, 21 Sep 2018 07:26:38 +0000 (00:26 -0700)]
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
mikerite [Mon, 24 Sep 2018 07:11:32 +0000 (09:11 +0200)]
Merge pull request #3213 from mikerite/fix-3204
Fix single_char_pattern crash (#3204)
Michael Wright [Sun, 23 Sep 2018 13:25:10 +0000 (15:25 +0200)]
Fix single_char_pattern crash (#3204)
This commit fixes the crash by removing constant checking from the lint.
Closes #3204.
ms2300 [Thu, 13 Sep 2018 08:36:13 +0000 (02:36 -0600)]
Full fix of get unwrap issue
ms2300 [Thu, 13 Sep 2018 00:14:48 +0000 (18:14 -0600)]
#3006 : Fixing for .get().unwrap().foo()
Philipp Krones [Sun, 23 Sep 2018 16:24:27 +0000 (18:24 +0200)]
Merge pull request #3207 from mikerite/fix-3206
Fix double_parens false positive
Philipp Krones [Sun, 23 Sep 2018 13:45:55 +0000 (15:45 +0200)]
Merge pull request #3191 from vi/suggest_with_applicability
Use span_suggestion_with_applicability instead of span_suggestion
Matthias Krüger [Sun, 23 Sep 2018 12:44:06 +0000 (14:44 +0200)]
clippy_dev: port to edition 2018
Philipp Krones [Sun, 23 Sep 2018 08:23:48 +0000 (10:23 +0200)]
Merge pull request #3195 from JayKickliter/jsk/mem_replace_opt_w_none
Add lint for `mem::replace(.., None)`.
Manish Goregaokar [Sat, 22 Sep 2018 21:35:11 +0000 (14:35 -0700)]
Mention `rustup self update` (fixes #3211)
Michael Wright [Sat, 22 Sep 2018 15:20:34 +0000 (17:20 +0200)]
Fix double_parens false positive
Closes #3206
flip1995 [Thu, 20 Sep 2018 12:38:13 +0000 (14:38 +0200)]
Another Applicability adjustment
Vitaly _Vi Shukela [Tue, 18 Sep 2018 19:43:52 +0000 (22:43 +0300)]
Applicability adjustment per additional comments
Vitaly _Vi Shukela [Tue, 18 Sep 2018 17:01:17 +0000 (20:01 +0300)]
Fill in Applicability from review comments by @flip1995
Vitaly _Vi Shukela [Tue, 18 Sep 2018 15:07:54 +0000 (18:07 +0300)]
Fix indents
Vitaly _Vi Shukela [Sun, 16 Sep 2018 19:01:26 +0000 (22:01 +0300)]
Apply subset of "cargo fmt".
Vitaly _Vi Shukela [Sat, 15 Sep 2018 16:32:35 +0000 (19:32 +0300)]
Add forgotten function: span_suggestion*s* to the previous refactoting
Vitaly _Vi Shukela [Sat, 15 Sep 2018 16:28:51 +0000 (19:28 +0300)]
Supplement DiagnosticBuilderExt with Applicability
Vitaly _Vi Shukela [Sat, 15 Sep 2018 16:14:08 +0000 (19:14 +0300)]
Use span_suggestion_with_applicability instead of span_suggestion
Philipp Hansch [Thu, 20 Sep 2018 08:37:39 +0000 (09:37 +0100)]
Merge pull request #3201 from phansch/rust_master_in_contributing_docs
Mention how to install master Rust in CONTRIBUTING
Philipp Hansch [Thu, 20 Sep 2018 05:10:23 +0000 (07:10 +0200)]
Mention rustup component history
Philipp Hansch [Thu, 20 Sep 2018 04:58:07 +0000 (06:58 +0200)]
s/rustc/Rust/
Philipp Hansch [Thu, 20 Sep 2018 04:56:13 +0000 (06:56 +0200)]
s/rust/Rust, repeat 'Clippy' less
Jay Kickliter [Wed, 19 Sep 2018 21:54:38 +0000 (14:54 -0700)]
mem_replace: fix grammar.
Jay Kickliter [Tue, 18 Sep 2018 23:54:01 +0000 (16:54 -0700)]
mem_replace: match on path.
Jay Kickliter [Tue, 18 Sep 2018 17:28:58 +0000 (10:28 -0700)]
mem_replace: apply update_lints tool.
Jay Kickliter [Tue, 18 Sep 2018 17:21:49 +0000 (10:21 -0700)]
mem_replace: make examples compilable.
Jay Kickliter [Sun, 16 Sep 2018 23:25:33 +0000 (16:25 -0700)]
Add lint for `mem::replace(.., None)`.
Suggest `Option::take()` as an alternative.
Philipp Hansch [Wed, 19 Sep 2018 19:12:51 +0000 (21:12 +0200)]
Mention how to install master Rust in CONTRIBUTING
Philipp Hansch [Wed, 19 Sep 2018 18:44:23 +0000 (19:44 +0100)]
Merge pull request #3197 from mikerite/travis_lint_list
Make travis check lint list
Philipp Hansch [Wed, 19 Sep 2018 18:43:48 +0000 (19:43 +0100)]
Merge pull request #3187 from flip1995/internal_fn
New internal lint: compiler_lint_functions
Michael Wright [Wed, 19 Sep 2018 05:39:50 +0000 (07:39 +0200)]
Update lint list
Michael Wright [Wed, 19 Sep 2018 05:04:38 +0000 (07:04 +0200)]
Make travis check lint list
Philipp Krones [Mon, 17 Sep 2018 09:44:06 +0000 (11:44 +0200)]
Merge pull request #3194 from flip1995/c_void
Fix c_void path
flip1995 [Mon, 17 Sep 2018 09:20:27 +0000 (11:20 +0200)]
Fix c_void path
This got changed in rust-lang/rust#53910
Philipp Krones [Sun, 16 Sep 2018 11:46:12 +0000 (13:46 +0200)]
Merge pull request #3192 from mikerite/refactor_20180916
Remove unneeded check for method call
Michael Wright [Sun, 16 Sep 2018 11:07:40 +0000 (13:07 +0200)]
Remove unneeded check for method call
The check can be removed because the call to `method_chains_args`
already performs this check.
Eduard-Mihai Burtescu [Sat, 15 Sep 2018 11:05:10 +0000 (14:05 +0300)]
Merge pull request #3190 from eddyb/rextern-2
Reintroduce `extern crate` for non-Cargo dependencies, in tests.
Eduard-Mihai Burtescu [Sat, 15 Sep 2018 10:37:21 +0000 (13:37 +0300)]
Reintroduce `extern crate` for non-Cargo dependencies, in tests.
Philipp Krones [Sat, 15 Sep 2018 09:56:11 +0000 (11:56 +0200)]
Merge pull request #3068 from matthiaskrgr/string
convert "".to_string() and "".to_owned() to String::new()
flip1995 [Sat, 15 Sep 2018 09:25:40 +0000 (11:25 +0200)]
Replace another occurrence of "".to_owned()
Matthias Krüger [Tue, 21 Aug 2018 10:46:18 +0000 (12:46 +0200)]
convert "".to_string() and "".to_owned() to String::new()
flip1995 [Fri, 14 Sep 2018 10:39:15 +0000 (12:39 +0200)]
Formatting
flip1995 [Fri, 14 Sep 2018 10:38:57 +0000 (12:38 +0200)]
Fix warnings of compiler_lint_functions
flip1995 [Fri, 14 Sep 2018 10:38:09 +0000 (12:38 +0200)]
Add internal lint compiler_lint_functions
Oliver S̶c̶h̶n̶e̶i̶d̶e̶r Scherer [Sat, 15 Sep 2018 08:34:09 +0000 (10:34 +0200)]
Merge pull request #3189 from eddyb/rextern
Reintroduce `extern crate` for non-Cargo dependencies.
Eduard-Mihai Burtescu [Sat, 15 Sep 2018 08:10:21 +0000 (11:10 +0300)]
Revert "the cargo feature: edition 2018 is stabilized in current nightly"
This reverts commit
404a09d61cf7bc8e5d4e92ae9052a4e10d2ff07d.
Eduard-Mihai Burtescu [Sat, 15 Sep 2018 07:56:03 +0000 (10:56 +0300)]
Fix `useless_attribute` to also whitelist `unused_extern_crates`.
Eduard-Mihai Burtescu [Sat, 15 Sep 2018 07:21:58 +0000 (10:21 +0300)]
Reintroduce `extern crate` for non-Cargo dependencies.