about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2019-06-14Use RedundantStaticLifetime in StaticStatic.krk-49/+5
2019-06-14Move type-checking logic in StaticConst to RedundantStaticLifetime.krk-47/+63
2019-06-14Add lint for statics with explicit static lifetime.krk-0/+229
2019-06-13Auto merge of #4175 - yaahallo:master, r=oli-obkbors-4/+2349
Implement better help for clippy-driver https://github.com/rust-lang/rust-clippy/issues/4173
2019-06-13Auto merge of #4201 - mgr-inz-rafal:typos_in_docs, r=matthiaskrgrbors-6/+6
Typos and minor grammar corrections Just some minor grammar issues and typos in documentation.
2019-06-12Auto merge of #4200 - lzutao:tyctxt-lifetime, r=matthiaskrgrbors-8/+8
Fix wrong lifetime of TyCtxt Rustup https://github.com/rust-lang/rust/pull/61722 changelog: none
2019-06-13Fix wrong lifetime of TyCtxtLzu Tao-7/+7
2019-06-13travis: Wait at most 30 minutes for base testLzu Tao-1/+1
Sometimes travis gets slow and makes the builds spurious failure because of no output in 10 minutes. This commit increase Travis timing-out time at most 30 minutes before terminating the build.
2019-06-12minor fixJane Lusby-1/+1
2019-06-12make it pass dogfoodJane Lusby-28/+29
2019-06-12run rustfmtJane Lusby-3/+8
2019-06-12fix padding and put clippy someplacesJane Lusby-14/+9
2019-06-12show default lint levelsJane Lusby-25/+44
2019-06-12group printingJane Lusby-37/+48
2019-06-12prelim arg parseJane Lusby-25/+139
2019-06-12move Lint static def into its own moduleJane Lusby-19/+14
2019-06-12switch to sorted usable lintsJane Lusby-1234/+1107
2019-06-12Update clippy_dev/src/main.rsJane Lusby-1/+1
Co-Authored-By: Philipp Krones <hello@philkrones.com>
2019-06-12initial commit for help improvements on clippy-driverJane Lusby-0/+2332
2019-06-12Typos and minor grammar correctionsmgr-inz-rafal-6/+6
2019-06-12Auto merge of #4195 - thiagoarrais:division-of-integer-literals, r=flip1995bors-2/+99
Adds lint for integer division Hi, folks! This is my first contribution to clippy and my first real piece of Rust code. This is supposed to add a lint that warns for division of integers (#109). Please let me know if you need any changes. Fixes #109 changelog: Add lint for integer division
2019-06-12Adds lint for integer divisionThiago Arrais-2/+99
2019-06-12Auto merge of #4191 - g-bartoszek:redundant-closure-deref, r=flip1995bors-6/+47
redundant_closure_for_method_calls fixes lint does not trigger when there is a difference in mutability lint does not trigger when the method belongs to a trait which is not implemebted directly (Deref) <!-- Thank you for making Clippy better! We're collecting our changelog from pull request descriptions. If your PR only updates to the latest nightly, you can leave the `changelog` entry as `none`. Otherwise, please write a short comment explaining your change. If your PR fixes an issue, you can add "fixes #issue_number" into this PR description. This way the issue will be automatically closed when your PR is merged. If you added a new lint, here's a checklist for things that will be checked during review or continuous integration. - [ ] Followed [lint naming conventions][lint_naming] - [ ] Added passing UI tests (including committed `.stderr` file) - [ ] `cargo test` passes locally - [ ] Executed `util/dev update_lints` - [ ] Added lint documentation - [ ] Run `cargo fmt` Note that you can skip the above if you are just opening a WIP PR in order to get feedback. Delete this line and everything above before opening your PR --> changelog: none
2019-06-12redundant_closure_for_method_calls fixes:Grzegorz-6/+47
lint does not trigger when there is a difference in mutability lint does not trigger when the method belongs to a trait which is not implemebted directly (Deref)
2019-06-12Auto merge of #4199 - flip1995:implicit_return_docs, r=flip1995bors-2/+2
Fix implicit_return docs Resolves #4197 changelog: none
2019-06-12Auto merge of #4198 - matthiaskrgr:rustup_8, r=flip1995bors-40/+24
rustup changelog: none cc @lzutao r? @phansch
2019-06-12Fix implicit_return docsflip1995-2/+2
2019-06-12rustup https://github.com/rust-lang/rust/pull/61758/filesMatthias Krüger-5/+5
2019-06-12Remove wrong lifetime from LintContextLzu Tao-35/+19
2019-06-10Auto merge of #4190 - projedi:fix-eta, r=flip1995bors-15/+19
Fixing eta with respect to lazy evaluation. This fixes #4187 changelog: `redundant_closure`: stop linting on expressions returning a function, which is then directly used by the closure
2019-06-10Workaround for rust-lang/rustfmt#3615Alexander Shabalin-2/+2
2019-06-10Fixing eta with respect to lazy evaluation.Alexander Shabalin-15/+19
2019-06-09Auto merge of #4188 - matthiaskrgr:rustup_7, r=Manishearthbors-5/+5
rustup https://github.com/rust-lang/rust/pull/61669/ changelog: none
2019-06-09travis: disable rls integration test.Matthias Krüger-3/+3
2019-06-09rustup https://github.com/rust-lang/rust/pull/61669/Matthias Krüger-2/+2
2019-06-08Auto merge of #4185 - mikerite:outer_expn_info, r=Manishearthbors-1/+99
Add OUTER_EXPN_INFO lint changelog: none
2019-06-08Add OUTER_EXPN_INFO lintMichael Wright-1/+99
2019-06-07[Backported] Rustup to https://github.com/rust-lang/rust/pull/59545Philipp Hansch-13/+13
2019-06-06Auto merge of #4177 - mikerite:compiler_lint_functions_fewer_strings, r=phanschbors-8/+8
Remove `to_string()`s from CompilerLintFunctions changelog: none
2019-06-06Auto merge of #4136 - euclio:println-writeln-suggestions, r=flip1995bors-82/+206
add suggestions for print/write with newline lint changelog: Add machine-applicable suggestions for `print!`/`write!` with newline lints.
2019-06-06Auto merge of #4178 - matthiaskrgr:rustup_6, r=oli-obkbors-2/+2
rustup https://github.com/rust-lang/rust/pull/57428/ changelog: none
2019-06-06rustup https://github.com/rust-lang/rust/pull/57428/Matthias Krüger-2/+2
2019-06-06Remove `to_string()`s from CompilerLintFunctionsMichael Wright-8/+8
2019-06-04Auto merge of #4164 - mikerite:fix-4144, r=mikeritebors-9/+38
Fix .map(..).unwrap_or_else(..) bad suggestion Closes #4144
2019-06-04Fix comment grammarmikerite-1/+1
Co-Authored-By: Philipp Krones <hello@philkrones.com>
2019-06-03Auto merge of #4168 - lzutao:fix-script, r=flip1995bors-3/+6
Do not install rustup-toolchain if it is in PATH I find it quiet annoying because I manually build `rustup-toolchain-install-master` and install it in `PATH` other than in `~/.cargo/bin`. So everytime I run the script, it always reinstall `rustup-toolchain-install-master` for me. changelog: none
2019-06-03Auto merge of #4165 - BO41:needless_range_loop, r=phanschbors-1/+9
Add example to needless_range_loop adds a "could be written as" example btw, is it correct that the lint triggers even if the index is used not just for getting the values by index? So that I have to add `.iter().enumerate()` to still get an index? changelog: none
2019-06-03Auto merge of #4163 - lzutao:doc-fix-foo-example, r=phanschbors-3/+3
doc: Remove `pub` from trait definition in foo lint example changelog: none
2019-06-03Auto merge of #4169 - lzutao:bump-cargo_metadata, r=Manishearthbors-2/+2
Bump cargo metadata Sorry, I forgot to bump `cargo_metadata` in sub-crates. changelog: none r? @matthiaskrgr
2019-06-03Bump clap in clippy_devLzu Tao-1/+1