]> git.lizzy.rs Git - rust.git/log
rust.git
5 years agoBeta changelog
Manish Goregaokar [Sat, 13 Apr 2019 22:05:25 +0000 (15:05 -0700)]
Beta changelog

5 years agoAuto merge of #3950 - phansch:update_changelog, r=Manishearth
bors [Sat, 13 Apr 2019 17:52:25 +0000 (17:52 +0000)]
Auto merge of #3950 - phansch:update_changelog, r=Manishearth

Update changelog for Rust 1.34.0

[Rendered](https://github.com/phansch/rust-clippy/blob/update_changelog/CHANGELOG.md#rust-134-2019-04-10)

5 years agoMention configuration option for too_many_lines lint
Philipp Hansch [Sat, 13 Apr 2019 09:04:58 +0000 (11:04 +0200)]
Mention configuration option for too_many_lines lint

5 years agoUpdate changelog for Rust 1.34.0
Philipp Hansch [Sat, 13 Apr 2019 07:53:57 +0000 (09:53 +0200)]
Update changelog for Rust 1.34.0

5 years agoAuto merge of #3946 - rchaser53:issue-3920, r=flip1995
bors [Fri, 12 Apr 2019 17:03:01 +0000 (17:03 +0000)]
Auto merge of #3946 - rchaser53:issue-3920, r=flip1995

fix format does not parse escaped braces error

related: https://github.com/rust-lang/rust-clippy/issues/3920

5 years agofix format does not parse escaped braces error
rchaser53 [Tue, 9 Apr 2019 14:15:48 +0000 (23:15 +0900)]
fix format does not parse escaped braces  error

5 years agoAuto merge of #3945 - flip1995:rustup, r=phansch
bors [Fri, 12 Apr 2019 11:53:08 +0000 (11:53 +0000)]
Auto merge of #3945 - flip1995:rustup, r=phansch

Rustup

cc https://github.com/rust-lang/rust/pull/59227#issuecomment-482411861

This fix is obsolet once rust-lang/rust#59779 and #3926 is merged.

5 years agoFix `get_def_path`
flip1995 [Fri, 12 Apr 2019 08:58:25 +0000 (10:58 +0200)]
Fix `get_def_path`

This fix is obsolet once rust-lang/rust#59779 and #3926 is merged.

5 years agoAuto merge of #3938 - phansch:more_uicleanup, r=oli-obk
bors [Thu, 11 Apr 2019 07:04:44 +0000 (07:04 +0000)]
Auto merge of #3938 - phansch:more_uicleanup, r=oli-obk

UI test cleanup: Extract or_fun_call and iter_nth tests

cc #2038

5 years agoUI test cleanup: Extract iter_nth tests
Philipp Hansch [Thu, 11 Apr 2019 05:58:50 +0000 (07:58 +0200)]
UI test cleanup: Extract iter_nth tests

5 years agoUI test cleanup: Extract or_fun_call tests
Philipp Hansch [Thu, 11 Apr 2019 05:47:04 +0000 (07:47 +0200)]
UI test cleanup: Extract or_fun_call tests

5 years agoAuto merge of #3930 - sunjay:patch-1, r=flip1995
bors [Thu, 11 Apr 2019 05:09:18 +0000 (05:09 +0000)]
Auto merge of #3930 - sunjay:patch-1, r=flip1995

Mention that -D warnings will deny ALL warnings, not just clippy warnings

If we pass `-D warnings` to clippy, it causes the build to fail if there are *any* warnings, even the ones not generated by clippy. This isn't immediately obvious when you're looking at this as someone just setting up clippy, so people might not expect this nor know how to fix it. I've added a few sentences in the README to help anyone who runs into this.

These docs are useful for anyone setting up clippy warnings to be denied during CI, but still otherwise want rustc warnings to be allowed.

I could have also changed `-D warnings` to `-D clippy::all` in the Travis configurations themselves, but I wasn't sure what you would prefer to have people use as the default.

5 years agoUpdate README.md
Philipp Krones [Thu, 11 Apr 2019 02:17:17 +0000 (22:17 -0400)]
Update README.md

Co-Authored-By: sunjay <sunjay@users.noreply.github.com>
5 years agoAuto merge of #3931 - phansch:3891, r=flip1995
bors [Wed, 10 Apr 2019 20:57:15 +0000 (20:57 +0000)]
Auto merge of #3931 - phansch:3891, r=flip1995

Fix ICE in decimal_literal_representation lint

Handling the integer parsing properly instead of just unwrapping.

Note that the test is not catching the ICE because plain UI tests
[currently hide ICEs][compiletest_issue]. Once that issue is fixed, this
test would fail properly again.

Fixes #3891

[compiletest_issue]: https://github.com/laumann/compiletest-rs/issues/169

5 years agoRefactor check_lit method
Philipp Hansch [Wed, 10 Apr 2019 19:05:56 +0000 (21:05 +0200)]
Refactor check_lit method

5 years agoAuto merge of #3937 - stepnivlk:type_dependent_defs-wrappers, r=oli-obk
bors [Wed, 10 Apr 2019 14:54:54 +0000 (14:54 +0000)]
Auto merge of #3937 - stepnivlk:type_dependent_defs-wrappers, r=oli-obk

Support updated type dependent def ID getter

This PR changes all the calls to `type_dependent_defs` (with panics via `[]`) to new method `type_dependent_def_id` with more explicit `unwrap` panic.

Rust PR: https://github.com/rust-lang/rust/pull/59216
Issue author: @oli-obk

5 years agoSupport updated type dependent def ID getter
Tomas Koutsky [Wed, 10 Apr 2019 14:18:02 +0000 (16:18 +0200)]
Support updated type dependent def ID getter

5 years agoAuto merge of #3933 - phansch:add_rustfix_eta, r=oli-obk
bors [Wed, 10 Apr 2019 09:15:27 +0000 (09:15 +0000)]
Auto merge of #3933 - phansch:add_rustfix_eta, r=oli-obk

Add // run-rustfix for eta.rs test

cc #3071, #3630

5 years agoAuto merge of #3932 - phansch:2910, r=flip1995
bors [Wed, 10 Apr 2019 07:29:15 +0000 (07:29 +0000)]
Auto merge of #3932 - phansch:2910, r=flip1995

Don't emit useless_attribute lint in external macros

Fixes #2910

5 years agoAdd // run-rustfix for eta.rs test
Philipp Hansch [Wed, 10 Apr 2019 06:16:07 +0000 (08:16 +0200)]
Add // run-rustfix for eta.rs test

cc #3071, #3630

5 years agoCode formatting/cleanup
Philipp Hansch [Wed, 10 Apr 2019 05:50:34 +0000 (07:50 +0200)]
Code formatting/cleanup

5 years agoDon't emit useless_attribute lint in external macros
Philipp Hansch [Tue, 9 Apr 2019 21:19:11 +0000 (23:19 +0200)]
Don't emit useless_attribute lint in external macros

5 years agoExclude ice-3891.rs from rustfmt run
Philipp Hansch [Tue, 9 Apr 2019 18:53:38 +0000 (20:53 +0200)]
Exclude ice-3891.rs from rustfmt run

Because the code triggers a rustc parse error which makes rustfmt fail.

5 years agoAuto merge of #3925 - phansch:3741, r=flip1995
bors [Tue, 9 Apr 2019 07:13:08 +0000 (07:13 +0000)]
Auto merge of #3925 - phansch:3741, r=flip1995

Fix ICE in suspicious_else_formatting

Fixes #3741

5 years agoFix ICE in decimal_literal_representation lint
Philipp Hansch [Mon, 8 Apr 2019 20:06:02 +0000 (22:06 +0200)]
Fix ICE in decimal_literal_representation lint

Handling the integer parsing properly instead of just unwrapping.

Note that the test is not catching the ICE because plain UI tests
[currently hide ICEs][compiletest_issue]. Once that issue is fixed, this
test would fail properly again.

[compiletest_issue]: https://github.com/laumann/compiletest-rs/issues/169

5 years agoRemove force-host and explain no-prefer-dynamic
Philipp Hansch [Mon, 8 Apr 2019 19:23:39 +0000 (21:23 +0200)]
Remove force-host and explain no-prefer-dynamic

5 years agoMention that -D warnings will deny ALL warnings, not just clippy warnings
Sunjay Varma [Mon, 8 Apr 2019 17:51:54 +0000 (13:51 -0400)]
Mention that -D warnings will deny ALL warnings, not just clippy warnings

5 years agoAuto merge of #3929 - KarboniteKream:single-char-pattern, r=oli-obk
bors [Mon, 8 Apr 2019 14:01:20 +0000 (14:01 +0000)]
Auto merge of #3929 - KarboniteKream:single-char-pattern, r=oli-obk

Escape a single quote in single_char_pattern hint

This PR correctly escapes single quotes in the hint for `single_char_pattern`.
For instance, the hint for `x.split("'")` was `'''`, while it should be `'\''`.

5 years agoEscape a single quote in single_char_pattern hint
Klemen Košir [Mon, 8 Apr 2019 12:55:50 +0000 (21:55 +0900)]
Escape a single quote in single_char_pattern hint

5 years agoAuto merge of #3921 - euclio:single-char-names-multispan, r=flip1995
bors [Mon, 8 Apr 2019 08:42:13 +0000 (08:42 +0000)]
Auto merge of #3921 - euclio:single-char-names-multispan, r=flip1995

use a multispan for MANY_SINGLE_CHAR_NAMES

5 years agoAuto merge of #3848 - felix91gr:null_transmute, r=flip1995
bors [Mon, 8 Apr 2019 07:20:25 +0000 (07:20 +0000)]
Auto merge of #3848 - felix91gr:null_transmute, r=flip1995

Transmuting known null ptr to ref

Working on implementing #628

5 years agoAuto merge of #3901 - rail-rain:issue_1670, r=flip1995
bors [Mon, 8 Apr 2019 06:28:15 +0000 (06:28 +0000)]
Auto merge of #3901 - rail-rain:issue_1670, r=flip1995

Fix `explicit_counter_loop` suggestion

#1670

This code seems to me to work, but I have two question.
* Because range expression desugared in hir, `Sugg::hir` doesn't add parenthesis to range expression.  Which function is better to check range do you think, `check_for_loop_explicit_counter` or `hir_from_snippet`?
* Do you think we need to distinguish between range expression and struct expression that creates `std::ops::Range*`?

5 years agoAuto merge of #3885 - mikerite:clippy_dev_toolchain, r=phansch
bors [Mon, 8 Apr 2019 05:58:34 +0000 (05:58 +0000)]
Auto merge of #3885 - mikerite:clippy_dev_toolchain, r=phansch

Add rust-toolchain for clippy_dev

AFAIK, `clippy_dev` is supposed to be built on stable. (This is why it's not a `[bin]` inside the root `Cargo.toml`.) This adds a `rust-toolchain` file for easy switching.

5 years agocargo fmt
Philipp Hansch [Mon, 8 Apr 2019 05:56:54 +0000 (07:56 +0200)]
cargo fmt

5 years agoAuto merge of #3928 - rust-lang:tmpadd, r=Manishearth
bors [Sun, 7 Apr 2019 21:36:51 +0000 (21:36 +0000)]
Auto merge of #3928 - rust-lang:tmpadd, r=Manishearth

Re-add tmp feature to compiletest

Got accidentally removed in the rustup

5 years agoRe-add tmp feature to compiletest
Manish Goregaokar [Sun, 7 Apr 2019 21:35:57 +0000 (14:35 -0700)]
Re-add tmp feature to compiletest

Got accidentally removed in the rustup

5 years agoAuto merge of #3927 - rust-lang:rustup, r=Manishearth
bors [Sun, 7 Apr 2019 20:41:39 +0000 (20:41 +0000)]
Auto merge of #3927 - rust-lang:rustup, r=Manishearth

Revert compiletest hacks, use latest compiletest

The libtest changes have been reverted, see https://github.com/rust-lang/rust/pull/59766,  https://github.com/laumann/compiletest-rs/pull/174

5 years agoRemove libtest from deps
Manish Goregaokar [Sun, 7 Apr 2019 19:39:43 +0000 (12:39 -0700)]
Remove libtest from deps

5 years agoRe-allow clippy::identity_conversion in compiletest
Manish Goregaokar [Sun, 7 Apr 2019 19:07:20 +0000 (12:07 -0700)]
Re-allow clippy::identity_conversion in compiletest

5 years agoUse latest compiletest-rs
Manish Goregaokar [Sun, 7 Apr 2019 19:02:22 +0000 (12:02 -0700)]
Use latest compiletest-rs

5 years agoRevert tests/compile-test.rs to 61aa5c957c219abe1fb2d1b5e51db8b365b4f565
Manish Goregaokar [Sun, 7 Apr 2019 19:01:39 +0000 (12:01 -0700)]
Revert tests/compile-test.rs to 61aa5c957c219abe1fb2d1b5e51db8b365b4f565

5 years agoFix ICE in suspicious_else_formatting
Philipp Hansch [Sun, 7 Apr 2019 09:11:06 +0000 (11:11 +0200)]
Fix ICE in suspicious_else_formatting

5 years agoMerge pull request #3918 from matthiaskrgr/typos
Matthias Krüger [Sun, 7 Apr 2019 08:29:51 +0000 (10:29 +0200)]
Merge pull request #3918 from matthiaskrgr/typos

NFC: fix typos

5 years agoMerge pull request #3922 from rust-lang/run-pass
Oliver Scherer [Sat, 6 Apr 2019 16:33:52 +0000 (18:33 +0200)]
Merge pull request #3922 from rust-lang/run-pass

Add missing `// run-pass` annotations to ICE tests

5 years agouse a multispan for MANY_SINGLE_CHAR_NAMES
Andy Russell [Wed, 3 Apr 2019 19:06:39 +0000 (15:06 -0400)]
use a multispan for MANY_SINGLE_CHAR_NAMES

5 years agoAdd missing `// run-pass` annotations to ICE tests
Philipp Hansch [Fri, 5 Apr 2019 05:22:36 +0000 (07:22 +0200)]
Add missing `// run-pass` annotations to ICE tests

compiletest UI tests do not fail when encountering panics and ICEs
unless the `// run-pass` flag is used.

(This was forgotten in https://github.com/rust-lang/rust-clippy/pull/3743)

5 years agoRemove clippy_dev as dev-dependency
Michael Wright [Fri, 5 Apr 2019 04:00:27 +0000 (06:00 +0200)]
Remove clippy_dev as dev-dependency

5 years agoMerge branch 'master' into clippy_dev_toolchain
Michael Wright [Fri, 5 Apr 2019 03:59:46 +0000 (05:59 +0200)]
Merge branch 'master' into clippy_dev_toolchain

5 years agoNFC: fix typos
Matthias Krüger [Thu, 4 Apr 2019 09:15:30 +0000 (11:15 +0200)]
NFC: fix typos

5 years agoMerge pull request #3916 from matthiaskrgr/rustup
Philipp Krones [Wed, 3 Apr 2019 09:43:26 +0000 (11:43 +0200)]
Merge pull request #3916 from matthiaskrgr/rustup

rustup https://github.com/rust-lang/rust/pull/59657

5 years agorustup https://github.com/rust-lang/rust/pull/59657
Matthias Krüger [Wed, 3 Apr 2019 08:48:54 +0000 (10:48 +0200)]
rustup https://github.com/rust-lang/rust/pull/59657

commit: 4122d2221ec65232bc211a266d0796a4713e0d39

5 years agoAdd TransmutingNull Lint
Félix Fischer [Tue, 26 Mar 2019 14:12:14 +0000 (11:12 -0300)]
Add TransmutingNull Lint
* Late Lint pass, catches:
  * One liner: 0 -> null -> transmute
  * One liner: std:null() -> transmute
  * Const (which resolves to null) -> transmute
* UI Test case for Lint
* Updated test for issue 3849, because now the lint that code generated is in Clippy.
* Expanded `const.rs` miri-based Constant Folding code, to cover
  raw pointers

5 years agoMerge pull request #3905 from rust-lang/compiletest
Philipp Krones [Mon, 1 Apr 2019 20:15:42 +0000 (22:15 +0200)]
Merge pull request #3905 from rust-lang/compiletest

Hacky rustup

5 years agoRun rustfmt
flip1995 [Mon, 1 Apr 2019 08:28:07 +0000 (10:28 +0200)]
Run rustfmt

5 years agoSet level of identity_conversion FP to warn
flip1995 [Mon, 1 Apr 2019 07:49:39 +0000 (09:49 +0200)]
Set level of identity_conversion FP to warn

5 years agoRustup to https://github.com/rust-lang/rust/pull/58805
Philipp Hansch [Mon, 1 Apr 2019 05:19:05 +0000 (07:19 +0200)]
Rustup to https://github.com/rust-lang/rust/pull/58805

5 years agorustup 41316f0449025394fdca6606d3fdb3b8f37a9872
Matthias Krüger [Sat, 30 Mar 2019 14:58:14 +0000 (15:58 +0100)]
rustup 41316f0449025394fdca6606d3fdb3b8f37a9872

5 years agoUpdated source to match with recent rustc `master` toolchain changes
Félix Fischer [Fri, 29 Mar 2019 04:47:09 +0000 (01:47 -0300)]
Updated source to match with recent rustc `master` toolchain changes

5 years agoFix dogfood error of question_mark lint fix
flip1995 [Wed, 27 Mar 2019 12:22:40 +0000 (13:22 +0100)]
Fix dogfood error of question_mark lint fix

5 years agoFix question_mark lint+test
flip1995 [Wed, 27 Mar 2019 10:46:33 +0000 (11:46 +0100)]
Fix question_mark lint+test

5 years agouse `span_lint_and_sugg` in `explicit_counter_loop`
rail [Wed, 27 Mar 2019 23:51:57 +0000 (08:51 +0900)]
use `span_lint_and_sugg` in `explicit_counter_loop`

5 years agoFix some test failures
Félix Fischer [Tue, 26 Mar 2019 16:57:03 +0000 (13:57 -0300)]
Fix some test failures

5 years agoHacky rustup
Oliver Scherer [Tue, 26 Mar 2019 09:55:03 +0000 (10:55 +0100)]
Hacky rustup

5 years agoMerge pull request #3902 from matthiaskrgr/rustup
Manish Goregaokar [Sat, 23 Mar 2019 23:53:01 +0000 (16:53 -0700)]
Merge pull request #3902 from matthiaskrgr/rustup

rustup https://github.com/rust-lang/rust/pull/59096/

5 years agorun cargo fmt
Matthias Krüger [Sat, 23 Mar 2019 22:39:58 +0000 (23:39 +0100)]
run cargo fmt

5 years agorustup https://github.com/rust-lang/rust/pull/59096/
Matthias Krüger [Sat, 23 Mar 2019 22:37:38 +0000 (23:37 +0100)]
rustup https://github.com/rust-lang/rust/pull/59096/

5 years agoChange explicit_counter_loop's message to add parentheses if necessary
rail [Sat, 23 Mar 2019 06:36:48 +0000 (15:36 +0900)]
Change explicit_counter_loop's message to add parentheses if necessary

5 years agoChange explicit_counter_loop's message to reflect original variable name
rail [Sat, 23 Mar 2019 06:30:17 +0000 (15:30 +0900)]
Change explicit_counter_loop's message to reflect original variable name

5 years agoAuto merge of #3888 - phansch:extract_mistyped_literal_suffix_tests_and_rustfix,...
bors [Tue, 19 Mar 2019 06:26:01 +0000 (06:26 +0000)]
Auto merge of #3888 - phansch:extract_mistyped_literal_suffix_tests_and_rustfix, r=flip1995

Add rustfix tests for mistyped_literal_suffix lint

This moves all `mistyped_literal_suffix` tests to their own file and
enables rustfix tests for them.

cc #3603, #2038

Based on #3887

5 years agoAuto merge of #3894 - markcatley:adding_lint_documentation_fixes, r=phansch
bors [Tue, 19 Mar 2019 06:05:41 +0000 (06:05 +0000)]
Auto merge of #3894 - markcatley:adding_lint_documentation_fixes, r=phansch

Add implementation for the EarlyLintPass trait into the Adding Lints …

…documentation.

To follow along with the adding lint documentation you need to implement this trait in order to register the lint pass.

5 years agocargo fmt
Philipp Hansch [Fri, 15 Mar 2019 19:14:33 +0000 (20:14 +0100)]
cargo fmt

5 years agoAdd rustfix tests for mistyped_literal_suffix lint
Philipp Hansch [Fri, 15 Mar 2019 07:06:01 +0000 (08:06 +0100)]
Add rustfix tests for mistyped_literal_suffix lint

This moves all `mistyped_literal_suffix` tests to their own file and
enables rustfix tests for them.

cc #3603, #2038

Based on #3887

5 years agoMove some `unreadable_literal` ui tests to correct file
Philipp Hansch [Fri, 15 Mar 2019 06:50:31 +0000 (07:50 +0100)]
Move some `unreadable_literal` ui tests to correct file

The moved tests were part of `tests/ui/literals.rs` before. Now they are
placed in `tests/ui/unreadable_literal.rs`, which now also runs
`rustfix` on these 4 extra let statements.

5 years agoAdd implementation for the EarlyLintPass trait into the Adding Lints documentation.
Mark Catley [Tue, 19 Mar 2019 00:39:19 +0000 (13:39 +1300)]
Add implementation for the EarlyLintPass trait into the Adding Lints documentation.

To follow along with the adding lint documentation you need to implement this trait in order to register the lint pass.

5 years agoAuto merge of #3893 - mati865:rustup, r=oli-obk
bors [Mon, 18 Mar 2019 16:21:56 +0000 (16:21 +0000)]
Auto merge of #3893 - mati865:rustup, r=oli-obk

Rustup

Supersedes https://github.com/rust-lang/rust-clippy/pull/3889

Addresses some review comments from previous PR and rustups to https://github.com/rust-lang/rust/pull/58899

5 years agoCargo fmt
Mateusz Mikuła [Mon, 18 Mar 2019 11:31:49 +0000 (12:31 +0100)]
Cargo fmt

5 years agoDrop range_contains feature
Mateusz Mikuła [Mon, 18 Mar 2019 11:30:22 +0000 (12:30 +0100)]
Drop range_contains feature

5 years agoFix rustfmt::skip detection
Mateusz Mikuła [Mon, 18 Mar 2019 11:29:56 +0000 (12:29 +0100)]
Fix rustfmt::skip detection

5 years agoRework clippy detection in attribute lint
Mateusz Mikuła [Mon, 18 Mar 2019 11:29:09 +0000 (12:29 +0100)]
Rework clippy detection in attribute lint

5 years agoname -> check_name
Mateusz Mikuła [Mon, 18 Mar 2019 11:15:23 +0000 (12:15 +0100)]
name -> check_name

5 years agospan -> span()
Mateusz Mikuła [Mon, 18 Mar 2019 11:05:20 +0000 (12:05 +0100)]
span -> span()

5 years agoname -> ident_str
Mateusz Mikuła [Mon, 18 Mar 2019 11:04:06 +0000 (12:04 +0100)]
name -> ident_str

5 years agoNestedMetaItemKind -> NestedMetaItem
Mateusz Mikuła [Mon, 18 Mar 2019 10:59:09 +0000 (11:59 +0100)]
NestedMetaItemKind -> NestedMetaItem

5 years agoDrop redundant &
Mateusz Mikuła [Mon, 18 Mar 2019 11:52:24 +0000 (12:52 +0100)]
Drop redundant &

5 years agoFix path_qualified
Mateusz Mikuła [Mon, 18 Mar 2019 11:49:12 +0000 (12:49 +0100)]
Fix path_qualified

As suggested by eddyb

5 years agoReplace most of ty:Ty with Ty
Mateusz Mikuła [Mon, 18 Mar 2019 11:43:10 +0000 (12:43 +0100)]
Replace most of ty:Ty with Ty

5 years agoFeed dog
flip1995 [Sat, 16 Mar 2019 14:39:02 +0000 (15:39 +0100)]
Feed dog

5 years agoAdapt paths to new formatting
flip1995 [Sat, 16 Mar 2019 14:22:31 +0000 (15:22 +0100)]
Adapt paths to new formatting

5 years agocargo fmt
flip1995 [Sat, 16 Mar 2019 10:51:57 +0000 (11:51 +0100)]
cargo fmt

5 years agoUse LocalInternedString inside of AbsolutePathPrinter
flip1995 [Sat, 16 Mar 2019 10:45:29 +0000 (11:45 +0100)]
Use LocalInternedString inside of AbsolutePathPrinter

5 years agoAbsolutePathBuffer -> AbsolutePathPrinter
flip1995 [Sat, 16 Mar 2019 10:17:36 +0000 (11:17 +0100)]
AbsolutePathBuffer -> AbsolutePathPrinter

5 years agoRemove ty::TyKind from eta_reduction and replace it with ty::Ty
flip1995 [Fri, 15 Mar 2019 22:44:42 +0000 (23:44 +0100)]
Remove ty::TyKind from eta_reduction and replace it with ty::Ty

5 years agoparent_def_id -> parent
flip1995 [Fri, 15 Mar 2019 22:44:04 +0000 (23:44 +0100)]
parent_def_id -> parent

5 years agoitem_path_str -> def_path_str
flip1995 [Fri, 15 Mar 2019 22:43:42 +0000 (23:43 +0100)]
item_path_str -> def_path_str

5 years agoReimplement AbsolutePathBuffer
flip1995 [Fri, 15 Mar 2019 22:41:30 +0000 (23:41 +0100)]
Reimplement AbsolutePathBuffer

5 years agoAuto merge of #3886 - phansch:rustfix_useless_asref, r=flip1995
bors [Fri, 15 Mar 2019 09:43:29 +0000 (09:43 +0000)]
Auto merge of #3886 - phansch:rustfix_useless_asref, r=flip1995

Enable rustfix for `useless_asref` lint tests

cc #3630

5 years agoEnable rustfix for `useless_asref` lint tests
Philipp Hansch [Fri, 15 Mar 2019 06:29:12 +0000 (07:29 +0100)]
Enable rustfix for `useless_asref` lint tests

5 years agoAuto merge of #3883 - daxpedda:missing_docs_in_private_items, r=phansch
bors [Fri, 15 Mar 2019 06:18:28 +0000 (06:18 +0000)]
Auto merge of #3883 - daxpedda:missing_docs_in_private_items, r=phansch

Add `doc(include = ...)` detection to `missing_docs_in_private_items`

The whole `missing documentation in crate` part doesn't have any tests. If I should add test cases tell me.

5 years agoAdd rust-toolchain for clippy_dev
Michael Wright [Fri, 15 Mar 2019 06:17:44 +0000 (08:17 +0200)]
Add rust-toolchain for clippy_dev

5 years agoAnother test for missing crate documentation.
daxpedda [Thu, 14 Mar 2019 18:38:41 +0000 (19:38 +0100)]
Another test for missing crate documentation.