]> git.lizzy.rs Git - rust.git/log
rust.git
4 years agoRollup merge of #4820 - guanqun:comment-fix, r=flip1995
Philipp Krones [Sat, 23 Nov 2019 17:16:01 +0000 (18:16 +0100)]
Rollup merge of #4820 - guanqun:comment-fix, r=flip1995

doc: fix the comment above the lint function

it's a simple comment fix.

---

changelog: none

4 years agoRollup merge of #4811 - mikerite:lit_repr_20191113, r=flip1995
Philipp Krones [Sat, 23 Nov 2019 17:16:00 +0000 (18:16 +0100)]
Rollup merge of #4811 - mikerite:lit_repr_20191113, r=flip1995

Literal Representation Restructure

This pull request restructures the literal_representation module to be easier to understand and maintain. I split the changes into a lot of commits to make reviewing easier.

changelog: none

4 years agoRollup merge of #4766 - phansch:fix_fp_in_derive_hash_xor_eq, r=flip1995
Philipp Krones [Sat, 23 Nov 2019 17:15:59 +0000 (18:15 +0100)]
Rollup merge of #4766 - phansch:fix_fp_in_derive_hash_xor_eq, r=flip1995

Fix false positive in derive_hash_xor_eq

This fixes a false positive in derive_hash_xor_eq where the lint was
triggering on user-defined traits called `Hash`.

changelog: Fix false positive in `derive_hash_xor_eq`

Fixes #4658

4 years agoRollup merge of #4730 - yerke:fix-check_infinite_loop, r=flip1995
Philipp Krones [Sat, 23 Nov 2019 17:15:58 +0000 (18:15 +0100)]
Rollup merge of #4730 - yerke:fix-check_infinite_loop, r=flip1995

Fix check_infinite_loop (while_immutable_condition) by checking for break or return inside loop body

changelog: Fix check_infinite_loop (while_immutable_condition) by checking for break or return inside loop body
fixes #4648

4 years agoAuto merge of #4825 - Manishearth:rustup, r=flip1995
bors [Sat, 23 Nov 2019 15:54:33 +0000 (15:54 +0000)]
Auto merge of #4825 - Manishearth:rustup, r=flip1995

Rustup to rustc 1.41.0-nightly (35ef33a8 2019-11-21)

I don't have the right fix for the fmtstr tests, and I'm also hitting problems caused by https://github.com/messense/rustc-test/issues/3

List of rustups:
- rust-lang/rust#66271 (syntax: Keep string literals in ABIs and `asm!` more precisely)
- rust-lang/rust#65355 (Stabilize `!` in Rust 1.41.0)
- rust-lang/rust#66515 (Reduce size of `hir::Expr` by boxing more of `hir::InlineAsm`)
- rust-lang/rust#66389 (Specific labels when referring to "expected" and "found" types)
- rust-lang/rust#66074 ([mir-opt] Turn on the `ConstProp` pass by default)

changelog: none

4 years agoDisable chalk integration test. Output too large
flip1995 [Sat, 23 Nov 2019 15:49:47 +0000 (16:49 +0100)]
Disable chalk integration test. Output too large

4 years agoTemporarily disable serde integration test
flip1995 [Sat, 23 Nov 2019 15:47:59 +0000 (16:47 +0100)]
Temporarily disable serde integration test

ICEs because of rustc, not Clippy

4 years agoAdd comment for mir_opt_level=0
flip1995 [Sat, 23 Nov 2019 00:26:19 +0000 (01:26 +0100)]
Add comment for mir_opt_level=0

4 years agofix check_infinite_loop by checking for break or return inside loop body
Yerkebulan Tulibergenov [Fri, 25 Oct 2019 06:46:25 +0000 (23:46 -0700)]
fix check_infinite_loop by checking for break or return inside loop body

4 years agoSet mir_opt_level=0
flip1995 [Fri, 22 Nov 2019 13:24:38 +0000 (14:24 +0100)]
Set mir_opt_level=0

This introduces some FNs. But a building Clippy is more important for now

4 years agoRustup to rust-lang/rust#66389
flip1995 [Fri, 22 Nov 2019 12:46:20 +0000 (13:46 +0100)]
Rustup to rust-lang/rust#66389

4 years agoRustup to rust-lang/rust#66515
flip1995 [Fri, 22 Nov 2019 12:25:38 +0000 (13:25 +0100)]
Rustup to rust-lang/rust#66515

Fixes #4835

4 years agoRemove never_type feature
flip1995 [Fri, 22 Nov 2019 12:24:17 +0000 (13:24 +0100)]
Remove never_type feature

Stablized in rust-lang/rust#65355

4 years agoRustup to rustc 1.41.0-nightly (d1da8023d 2019-11-19)
Manish Goregaokar [Tue, 19 Nov 2019 08:32:35 +0000 (00:32 -0800)]
Rustup to rustc 1.41.0-nightly (d1da8023d 2019-11-19)

4 years agoRustup to rustc 1.41.0-nightly (a0d40f8bd 2019-11-18)
Manish Goregaokar [Mon, 18 Nov 2019 15:38:36 +0000 (07:38 -0800)]
Rustup to rustc 1.41.0-nightly (a0d40f8bd 2019-11-18)

4 years agodoc: fix the comment above the lint function
Guanqun Lu [Fri, 15 Nov 2019 17:06:57 +0000 (01:06 +0800)]
doc: fix the comment above the lint function

4 years agoAuto merge of #4815 - JohnTitor:rustup, r=matthiaskrgr
bors [Thu, 14 Nov 2019 10:00:18 +0000 (10:00 +0000)]
Auto merge of #4815 - JohnTitor:rustup, r=matthiaskrgr

Rustup rust-lang/rust#66233

changelog: none

4 years agoRustup rust-lang/rust#66233
Yuki Okushi [Thu, 14 Nov 2019 08:13:07 +0000 (17:13 +0900)]
Rustup rust-lang/rust#66233

4 years agoliteral repr: ignore more warnings in macros
Michael Wright [Thu, 14 Nov 2019 06:08:24 +0000 (08:08 +0200)]
literal repr: ignore more warnings in macros

4 years agoliteral representation: simplification
Michael Wright [Thu, 14 Nov 2019 05:42:04 +0000 (07:42 +0200)]
literal representation: simplification

Simplify calculation in grouping. Add test case to ensure `count()`
can't be zero in that branch.

4 years agoAuto merge of #4810 - Areredify:4716-fix, r=flip1995
bors [Wed, 13 Nov 2019 18:07:23 +0000 (18:07 +0000)]
Auto merge of #4810 - Areredify:4716-fix, r=flip1995

clippy-driver display help on empty command line arguments

changelog: fixes #4716, now displaying help if clippy-driver is run with no arguments.

4 years agoAuto merge of #4794 - rust-lang:no-must-use-impls, r=flip1995
bors [Wed, 13 Nov 2019 13:13:14 +0000 (13:13 +0000)]
Auto merge of #4794 - rust-lang:no-must-use-impls, r=flip1995

no more must-use-candidate impls

This should help with #4779.

changelog: don't trigger [`must_use_candidate`] on trait impls

4 years agoliteral representation restructure 12
Michael Wright [Wed, 13 Nov 2019 06:28:50 +0000 (08:28 +0200)]
literal representation restructure 12

Export function for formatting literals and remove crate visibility from
other items.

4 years agoliteral representation restructure 11
Michael Wright [Wed, 13 Nov 2019 06:28:06 +0000 (08:28 +0200)]
literal representation restructure 11

Rename `grouping_hint` to `format` and use the term consistently.

4 years agoliteral representation restructure 10
Michael Wright [Wed, 13 Nov 2019 06:28:01 +0000 (08:28 +0200)]
literal representation restructure 10

Rename DigitInfo to NumericLiteral

4 years agoliteral representation restructure 9
Michael Wright [Wed, 13 Nov 2019 06:27:54 +0000 (08:27 +0200)]
literal representation restructure 9

Only store valid suffixes (and not mistyped suffixes) in DigitInfo.
Check for mistyped suffixes later and not when DigitInfo is created.
This opens the door to more sophisticated mistyped suffix checks later.

4 years agoliteral representation restructure 8
Michael Wright [Wed, 13 Nov 2019 06:27:49 +0000 (08:27 +0200)]
literal representation restructure 8

Store the digit parts directly in DigitInfo since we need them anyway.

4 years agoliteral representation restructure 7
Michael Wright [Wed, 13 Nov 2019 06:27:42 +0000 (08:27 +0200)]
literal representation restructure 7

Replace `do_lint` with `get_group_size`. Return `None` if there are no
groups.

4 years agoliteral representation restructure 6
Michael Wright [Wed, 13 Nov 2019 06:27:37 +0000 (08:27 +0200)]
literal representation restructure 6

Add `group_digits` helper function.

4 years agoliteral representation restructure 5
Michael Wright [Wed, 13 Nov 2019 06:27:27 +0000 (08:27 +0200)]
literal representation restructure 5

Use `split_digit_parts` in `check_lit`.

4 years agoliteral representation restructure 4
Michael Wright [Wed, 13 Nov 2019 06:27:19 +0000 (08:27 +0200)]
literal representation restructure 4

Simplify `grouping_hint` by splitting digits into parts and handling
one at a time.

Fixes #4762

4 years agoliteral representation restructure 3
Michael Wright [Wed, 13 Nov 2019 06:27:14 +0000 (08:27 +0200)]
literal representation restructure 3

Move suffix check into `check_lit` so that it isn't done repeatedly.

4 years agoliteral representation restructure 2
Michael Wright [Wed, 13 Nov 2019 06:27:05 +0000 (08:27 +0200)]
literal representation restructure 2

Consolidate warning handling using "poor man's try".

4 years agoliteral representation restructure 1
Michael Wright [Wed, 13 Nov 2019 06:26:52 +0000 (08:26 +0200)]
literal representation restructure 1

Combine macro expansion checks. Indentation is a little strange to
avoid rustfmt issue.

4 years agodisplay help on empty command line arguments
Mikhail Babenko [Wed, 13 Nov 2019 01:27:43 +0000 (04:27 +0300)]
display help on empty command line arguments

4 years agono more must-use-candidate on trait impls
Andre Bogus [Tue, 12 Nov 2019 22:36:22 +0000 (23:36 +0100)]
no more must-use-candidate on trait impls

4 years agoAuto merge of #4769 - euclio:crlf, r=flip1995
bors [Tue, 12 Nov 2019 13:56:14 +0000 (13:56 +0000)]
Auto merge of #4769 - euclio:crlf, r=flip1995

don't warn on CRLF in `with_newline` lints

changelog: don't warn on CRLF in `print_with_newline` and `write_with_newline`
fixes #4208.

This PR also transitions the unescaping logic to use the compiler's lexer.

4 years agodon't warn on CRLF in `with_newline` lints
Andy Russell [Sun, 3 Nov 2019 04:41:22 +0000 (00:41 -0400)]
don't warn on CRLF in `with_newline` lints

4 years agoAuto merge of #4803 - tomprogrammer:issue-4732, r=phansch
bors [Mon, 11 Nov 2019 19:24:20 +0000 (19:24 +0000)]
Auto merge of #4803 - tomprogrammer:issue-4732, r=phansch

Fix false positive in explicit_counter_loop lint

When the counter was used in a closure after the loop the lint didn't detect the
usage of the counter correctly.

changelog: Fix false positive in `explicit_counter_loop`

Fixes #4732

4 years agoAuto merge of #4805 - Manishearth:rustup, r=phansch
bors [Mon, 11 Nov 2019 18:59:06 +0000 (18:59 +0000)]
Auto merge of #4805 - Manishearth:rustup, r=phansch

Rustup to rustc 1.40.0-nightly (56237d75b 2019-11-11)

changelog: none

4 years agoMutImmutable -> Immutable, MutMutable -> Mutable, CaptureClause -> CaptureBy
Manish Goregaokar [Mon, 11 Nov 2019 17:24:12 +0000 (09:24 -0800)]
MutImmutable -> Immutable, MutMutable -> Mutable, CaptureClause -> CaptureBy

4 years agoAuto merge of #4801 - mikerite:to_digit_is_some, r=flip1995
bors [Mon, 11 Nov 2019 11:28:27 +0000 (11:28 +0000)]
Auto merge of #4801 - mikerite:to_digit_is_some, r=flip1995

To digit is some

Add a lint that recommends replacing `to_digit().is_some()` with `is_digit()` on `char`s

changelog: Add lint `to_digit_is_some`

4 years agoFix false positive in explicit_counter_loop lint
Thomas Bahn [Mon, 11 Nov 2019 10:27:18 +0000 (11:27 +0100)]
Fix false positive in explicit_counter_loop lint

When the counter was used in a closure after the loop the lint didn't detect the
usage of the counter correctly.

4 years agoFix false positive in derive_hash_xor_eq
Philipp Hansch [Fri, 1 Nov 2019 19:12:08 +0000 (20:12 +0100)]
Fix false positive in derive_hash_xor_eq

This fixes a false positive in derive_hash_xor_eq where the lint was
triggering on user-defined traits called `Hash`.

4 years agoAuto merge of #4780 - flip1995:ice_4775, r=phansch
bors [Mon, 11 Nov 2019 06:23:27 +0000 (06:23 +0000)]
Auto merge of #4780 - flip1995:ice_4775, r=phansch

Fix ICE #4775

Fixes #4775

changelog: Fix ICE with const_generics

4 years agoAuto merge of #4802 - mikerite:fix-breakage-20191111, r=phansch
bors [Mon, 11 Nov 2019 06:03:56 +0000 (06:03 +0000)]
Auto merge of #4802 - mikerite:fix-breakage-20191111, r=phansch

Fix breakage due to rust-lang/rust#65324

changelog: none

4 years agoFix breakage due to rust-lang/rust#65324
Michael Wright [Mon, 11 Nov 2019 04:22:50 +0000 (06:22 +0200)]
Fix breakage due to rust-lang/rust#65324

4 years agoReally fix `to_digit_is_some` documentation
Michael Wright [Sun, 10 Nov 2019 16:00:04 +0000 (18:00 +0200)]
Really fix `to_digit_is_some` documentation

4 years agoFix `to_digit_is_some` documentation
Michael Wright [Sun, 10 Nov 2019 15:55:25 +0000 (17:55 +0200)]
Fix `to_digit_is_some` documentation

4 years agoFix `to_digit_is_some` dogfood errors
Michael Wright [Sun, 10 Nov 2019 13:14:26 +0000 (15:14 +0200)]
Fix `to_digit_is_some` dogfood errors

4 years agoAdd `to_digit_is_some` lint
Michael Wright [Sun, 10 Nov 2019 13:12:05 +0000 (15:12 +0200)]
Add `to_digit_is_some` lint

4 years agoAuto merge of #4800 - msizanoen1:target-libs2, r=Manishearth
bors [Sun, 10 Nov 2019 04:51:23 +0000 (04:51 +0000)]
Auto merge of #4800 - msizanoen1:target-libs2, r=Manishearth

Only pass `--extern` flags for rlibs in target deps directory

It seems like there are proc macros/build scripts using serde: https://github.com/rust-lang/rust/pull/66207#issuecomment-552159692
This fix the build error by only passing `--extern` flags for rlibs in target deps directory (if available, otherwise host deps directory).

r? @Manishearth

changelog: none

4 years agoOnly pass rlibs in target deps directory
msizanoen1 [Sun, 10 Nov 2019 03:54:49 +0000 (10:54 +0700)]
Only pass rlibs in target deps directory

4 years agoAuto merge of #4799 - Manishearth:rustup, r=yaahc
bors [Sun, 10 Nov 2019 01:10:12 +0000 (01:10 +0000)]
Auto merge of #4799 - Manishearth:rustup, r=yaahc

Rustup to rustc 1.40.0-nightly (ac162c6ab 2019-11-09)

changelog: none

4 years agoRustup to rustc 1.40.0-nightly (ac162c6ab 2019-11-09)
Manish Goregaokar [Sun, 10 Nov 2019 01:04:42 +0000 (17:04 -0800)]
Rustup to rustc 1.40.0-nightly (ac162c6ab 2019-11-09)

4 years agoAuto merge of #4791 - lzutao:osx2bors, r=matthiaskrgr
bors [Fri, 8 Nov 2019 23:33:30 +0000 (23:33 +0000)]
Auto merge of #4791 - lzutao:osx2bors, r=matthiaskrgr

build macOS on bors branches only

Clippy is portable enough. It is rare to see Clippy builds' broke
on *nix OSes. Testing macOS build on auto and try branch is
enough.

changelog: none

4 years agoAuto merge of #4786 - msizanoen1:target-libs, r=Manishearth
bors [Fri, 8 Nov 2019 22:58:33 +0000 (22:58 +0000)]
Auto merge of #4786 - msizanoen1:target-libs, r=Manishearth

Add the TARGET_LIBS environment variable for rustc CI testing

Needed to fix the test failure in rust-lang/rust#66158.

See https://github.com/rust-lang/rust/pull/66158#issuecomment-550585396

r? @Manishearth

changelog: none

4 years agoAuto merge of #4776 - mikerite:fix-4727, r=flip1995
bors [Fri, 8 Nov 2019 22:06:21 +0000 (22:06 +0000)]
Auto merge of #4776 - mikerite:fix-4727, r=flip1995

Fix crash in `use-self` lint

Fixes #4727

changelog: Fix crash in `use-self` lint

4 years agoAuto merge of #4795 - HMPerson1:rustup, r=matthiaskrgr
bors [Fri, 8 Nov 2019 21:27:26 +0000 (21:27 +0000)]
Auto merge of #4795 - HMPerson1:rustup, r=matthiaskrgr

Rustup rust-lang/rust#66188

changelog: none

4 years agodogfood
HMPerson1 [Fri, 8 Nov 2019 20:41:54 +0000 (15:41 -0500)]
dogfood

4 years agoRustup rust-lang/rust#66188
HMPerson1 [Fri, 8 Nov 2019 20:12:08 +0000 (15:12 -0500)]
Rustup rust-lang/rust#66188

4 years agoAdd target libs directory to search path
msizanoen1 [Fri, 8 Nov 2019 05:29:07 +0000 (12:29 +0700)]
Add target libs directory to search path

4 years agoPut ice test auxiliary fix in right place
Michael Wright [Fri, 8 Nov 2019 05:18:12 +0000 (07:18 +0200)]
Put ice test auxiliary fix in right place

4 years agoMerge branch 'master' into fix-4727
Michael Wright [Fri, 8 Nov 2019 05:15:16 +0000 (07:15 +0200)]
Merge branch 'master' into fix-4727

4 years agoAuto merge of #4792 - lzutao:rustup-65916, r=Manishearth
bors [Fri, 8 Nov 2019 03:34:42 +0000 (03:34 +0000)]
Auto merge of #4792 - lzutao:rustup-65916, r=Manishearth

 rustup rust-lang/rust#65916

cc rust-lang/rust#65916
changelog: none

4 years agoremove unused warnings
Lzu Tao [Fri, 8 Nov 2019 03:16:43 +0000 (10:16 +0700)]
remove unused warnings

4 years agorustup https://github.com/rust-lang/rust/pull/65916
Lzu Tao [Fri, 8 Nov 2019 03:10:08 +0000 (10:10 +0700)]
rustup https://github.com/rust-lang/rust/pull/65916

4 years agoAuto merge of #4697 - Licenser:no-exit, r=flip1995
bors [Thu, 7 Nov 2019 22:05:51 +0000 (22:05 +0000)]
Auto merge of #4697 - Licenser:no-exit, r=flip1995

restriction lint for `std::process::exit`

Addition to #4655 - adds the lint checking for `std::process::exit`

changelog: add restriction lint for `std::process::exit`

4 years agoAuto merge of #4784 - Manishearth:remove-extern, r=Manishearth
bors [Thu, 7 Nov 2019 21:33:04 +0000 (21:33 +0000)]
Auto merge of #4784 - Manishearth:remove-extern, r=Manishearth

Remove `extern crate clippy_lints` from tests

This causes rustc's build system to fail because it still tries to load the crate as a plugin: https://github.com/rust-lang/rust/pull/66158#issuecomment-550415160 . I'm not sure _why_ this happens, but for a short term fix we should remove these.

In one case it was just a convenient crate to use so i picked a different test. In another it was load-bearing, I had to delete the test. Idk if there's a better way around this.

changelog: none

4 years agoAuto merge of #4758 - mikerite:dec_lit_20191031, r=flip1995
bors [Thu, 7 Nov 2019 21:06:18 +0000 (21:06 +0000)]
Auto merge of #4758 - mikerite:dec_lit_20191031, r=flip1995

`DecimalLiteralRepresentation` simplification

Remove recalculation of literal value.

changelog: none

4 years agoRemove clippy dependency in lint_without_lint_pass
Manish Goregaokar [Thu, 7 Nov 2019 20:48:22 +0000 (12:48 -0800)]
Remove clippy dependency in lint_without_lint_pass

4 years agoRemove clippy_lints from useless attribute test
Manish Goregaokar [Wed, 6 Nov 2019 18:36:04 +0000 (10:36 -0800)]
Remove clippy_lints from useless attribute test

4 years agoAuto merge of #4757 - evanjs:issue/4748, r=phansch
bors [Thu, 7 Nov 2019 20:47:14 +0000 (20:47 +0000)]
Auto merge of #4757 - evanjs:issue/4748, r=phansch

Fix Deprecated lints don't expand

### Move doc comments inside of declare_deprecated_lint macros so that they are picked up by lintlib.py

### fixes #4748

Unable to `cargo test` locally (I'm on NixOS, and keep getting errors that are similar to those #4714 might solve) but I have verified that all deprecated lints can now be expanded like other lints.

![2019-10-30_21:06:28](https://user-images.githubusercontent.com/1847524/67910501-5815de00-fb59-11e9-9fa2-91fe6a8b9bb9.png)

changelog: Show deprecated lints in lint documentation again

4 years agobuild macOS on bors branches only
Lzu Tao [Thu, 7 Nov 2019 19:06:28 +0000 (02:06 +0700)]
build macOS on bors branches only

Clippy is portable enough. It is rare to see Clippy builds' broke
on *nix OSes. Testing macOS build on auto and try branch is
enough.

4 years agoUpdate lints
Heinz N. Gies [Thu, 7 Nov 2019 16:13:26 +0000 (17:13 +0100)]
Update lints

4 years agoUpdate tests for exit
Heinz N. Gies [Tue, 29 Oct 2019 20:34:00 +0000 (21:34 +0100)]
Update tests for exit

4 years agoUpdate clippy_lints/src/lib.rs
Heinz N. Gies [Fri, 25 Oct 2019 08:59:33 +0000 (10:59 +0200)]
Update clippy_lints/src/lib.rs

Co-Authored-By: Philipp Krones <hello@philkrones.com>
4 years agoUpdate clippy_lints/src/lib.rs
Heinz N. Gies [Fri, 25 Oct 2019 08:16:25 +0000 (10:16 +0200)]
Update clippy_lints/src/lib.rs

Co-Authored-By: Philipp Krones <hello@philkrones.com>
4 years agoSimplify dentry point detection
Heinz N. Gies [Thu, 24 Oct 2019 19:17:21 +0000 (21:17 +0200)]
Simplify dentry point detection

4 years agoImprove function checking
Heinz N. Gies [Mon, 21 Oct 2019 20:55:01 +0000 (22:55 +0200)]
Improve function checking

4 years agoExclude main from exit lint
Heinz N. Gies [Sat, 19 Oct 2019 12:31:02 +0000 (14:31 +0200)]
Exclude main from exit lint

4 years agoUpdate lints
Heinz N. Gies [Fri, 18 Oct 2019 19:10:35 +0000 (21:10 +0200)]
Update lints

4 years agoAdd lint for exit
Heinz N. Gies [Fri, 18 Oct 2019 19:09:42 +0000 (21:09 +0200)]
Add lint for exit

4 years agoAdd the TARGET_LIBS environment variable for rustc CI testing
msizanoen1 [Thu, 7 Nov 2019 07:01:25 +0000 (14:01 +0700)]
Add the TARGET_LIBS environment variable for rustc CI testing

4 years agoAuto merge of #4788 - Manishearth:rustup, r=flip1995
bors [Thu, 7 Nov 2019 13:23:32 +0000 (13:23 +0000)]
Auto merge of #4788 - Manishearth:rustup, r=flip1995

Rustup to rustc 1.40.0-nightly (50f8aadd 2019-11-07)

changelog: Deprecate [`into_iter_on_array`] lint

r? @phansch @oli-obk

4 years agoDeprecate `into_iter_on_array` lint
flip1995 [Thu, 7 Nov 2019 12:44:57 +0000 (13:44 +0100)]
Deprecate `into_iter_on_array` lint

This lint was uplifted/reimplemented by rustc.
Rustup to rust-lang/rust#66017

4 years agoRustup to rust-lang/rust#65884
flip1995 [Thu, 7 Nov 2019 12:27:00 +0000 (13:27 +0100)]
Rustup to rust-lang/rust#65884

4 years agoRustup to rustc 1.40.0-nightly (7a76fe76f 2019-11-07)
Manish Goregaokar [Thu, 7 Nov 2019 08:34:45 +0000 (00:34 -0800)]
Rustup to rustc 1.40.0-nightly (7a76fe76f 2019-11-07)

4 years agouse-self: correctly ignore dummy paths
Michael Wright [Thu, 7 Nov 2019 03:59:13 +0000 (05:59 +0200)]
use-self: correctly ignore dummy paths

4 years agoAuto merge of #4781 - lzutao:rustup/65134, r=matthiaskrgr
bors [Wed, 6 Nov 2019 18:21:25 +0000 (18:21 +0000)]
Auto merge of #4781 - lzutao:rustup/65134, r=matthiaskrgr

rustup improper_ctypes: `extern "C"` fns

cc https://github.com/rust-lang/rust/pull/65134
changelog: none

4 years agorustup improper_ctypes: `extern "C"` fns
Lzu Tao [Wed, 6 Nov 2019 17:38:10 +0000 (00:38 +0700)]
rustup improper_ctypes: `extern "C"` fns

4 years agoAdd regression test for ICE #4775
flip1995 [Wed, 6 Nov 2019 17:15:04 +0000 (18:15 +0100)]
Add regression test for ICE #4775

4 years agoFix ICE #4775
flip1995 [Wed, 6 Nov 2019 17:14:47 +0000 (18:14 +0100)]
Fix ICE #4775

4 years agoAuto merge of #4772 - HMPerson1:tastier_ice_cream, r=flip1995
bors [Wed, 6 Nov 2019 15:50:42 +0000 (15:50 +0000)]
Auto merge of #4772 - HMPerson1:tastier_ice_cream, r=flip1995

Use correct TypeckTables when hashing bodies

Fixes #4760

changelog: Fix ICE while hashing block expressions #4760

r? @phansch

4 years agoAuto merge of #4777 - lzutao:66014-rustup, r=matthiaskrgr
bors [Wed, 6 Nov 2019 12:13:39 +0000 (12:13 +0000)]
Auto merge of #4777 - lzutao:66014-rustup, r=matthiaskrgr

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

changelog: none

4 years agobump smallvec to 1.0.0
Lzu Tao [Wed, 6 Nov 2019 10:00:12 +0000 (17:00 +0700)]
bump smallvec to 1.0.0

4 years agochore: sort out clippy_lints deps
Lzu Tao [Wed, 6 Nov 2019 09:46:32 +0000 (16:46 +0700)]
chore: sort out clippy_lints deps

4 years agorustup rust-lang/rust#65776
Lzu Tao [Wed, 6 Nov 2019 09:50:24 +0000 (16:50 +0700)]
rustup rust-lang/rust#65776

4 years agobuild: re-enable stdsimd integration test
Lzu Tao [Wed, 6 Nov 2019 06:27:39 +0000 (13:27 +0700)]
build: re-enable stdsimd integration test

Also sorting rls to the first in the list because it is now
the longest running test.

4 years agorustup https://github.com/rust-lang/rust/pull/66014
Lzu Tao [Wed, 6 Nov 2019 06:24:47 +0000 (06:24 +0000)]
rustup https://github.com/rust-lang/rust/pull/66014