]> git.lizzy.rs Git - rust.git/log
rust.git
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 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 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

4 years agoFix crash in `use-self` lint
Michael Wright [Wed, 6 Nov 2019 05:13:43 +0000 (07:13 +0200)]
Fix crash in `use-self` lint

Fixes #4727

4 years agoAuto merge of #4714 - msizanoen1:remove-plugin, r=Manishearth
bors [Wed, 6 Nov 2019 03:21:01 +0000 (03:21 +0000)]
Auto merge of #4714 - msizanoen1:remove-plugin, r=Manishearth

Remove clippy plugin

This PR removes the clippy plugin, which is already deprecated and is causing the `fmt_macros` not found error in rust-lang/rust#62558: https://github.com/rust-lang/rust/issues/62558#issuecomment-529884322

changelog: remove plugin interface

4 years agoAuto merge of #4773 - lzutao:rls/print-something, r=Manishearth
bors [Tue, 5 Nov 2019 20:57:00 +0000 (20:57 +0000)]
Auto merge of #4773 - lzutao:rls/print-something, r=Manishearth

build: avoid timing out in Travis

cc #4770
changelog: none

4 years agoTurn off stdsimd integration test
Manish Goregaokar [Mon, 4 Nov 2019 19:40:06 +0000 (11:40 -0800)]
Turn off stdsimd integration test

4 years agochore: remove unnecessary parentheses around type
Lzu Tao [Tue, 5 Nov 2019 14:51:56 +0000 (21:51 +0700)]
chore: remove unnecessary parentheses around type

4 years agobuild: avoid timing out in Travis
Lzu Tao [Tue, 5 Nov 2019 14:36:44 +0000 (21:36 +0700)]
build: avoid timing out in Travis

4 years agoUse correct TypeckTables when hashing bodies
HMPerson1 [Tue, 5 Nov 2019 01:03:03 +0000 (20:03 -0500)]
Use correct TypeckTables when hashing bodies

4 years agodeprecated_lints: re-fix ASSIGN_OPS lint doc-comment
Evan Stoll [Sat, 2 Nov 2019 18:19:25 +0000 (14:19 -0400)]
deprecated_lints: re-fix ASSIGN_OPS lint doc-comment

4 years agodeprecated_lints: align doc comment indents with `pub LINT_NAME`
Evan Stoll [Sat, 2 Nov 2019 18:10:59 +0000 (14:10 -0400)]
deprecated_lints: align doc comment indents with `pub LINT_NAME`

4 years agodeprecated_lints: remove extraneous `declare_deprecated_lint`
Evan Stoll [Sat, 2 Nov 2019 18:09:41 +0000 (14:09 -0400)]
deprecated_lints: remove extraneous `declare_deprecated_lint`

4 years ago`DecimalLiteralRepresentation` simplification
Michael Wright [Thu, 31 Oct 2019 07:13:08 +0000 (09:13 +0200)]
`DecimalLiteralRepresentation` simplification

Remove recalculation of literal value.

4 years agoFix #4748 - Deprecated lints don't expand
Evan Stoll [Thu, 31 Oct 2019 01:05:23 +0000 (21:05 -0400)]
Fix #4748 - Deprecated lints don't expand

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

4 years agoAuto merge of #4752 - lzutao:cache/uninstall-clippy, r=flip1995
bors [Tue, 29 Oct 2019 09:41:27 +0000 (09:41 +0000)]
Auto merge of #4752 - lzutao:cache/uninstall-clippy, r=flip1995

build: do not cache clippy binaries in integration tests

We rebuild clippy anyway. So caching them is needless

```console
% ls -lF target/debug
total 628M
drwxr-xr-x 22 lzutao lzutao 4.0K Oct 29 04:02 build/
drwxr-xr-x  2 lzutao lzutao 144K Oct 29 04:03 deps/
drwxr-xr-x  2 lzutao lzutao 4.0K Oct 29 03:57 examples/
drwxr-xr-x 11 lzutao lzutao 4.0K Oct 29 04:03 incremental/
-rwxr-xr-x  2 lzutao lzutao 3.4M Oct 29 04:03 cargo-clippy*
-rw-r--r--  1 lzutao lzutao  11K Oct 29 03:58 cargo-clippy.d
-rwxr-xr-x  2 lzutao lzutao 313M Oct 29 04:03 clippy-driver*
-rw-r--r--  1 lzutao lzutao  11K Oct 29 03:58 clippy-driver.d
-rw-r--r--  1 lzutao lzutao  11K Oct 29 04:03 libclippy.d
-rwxr-xr-x  2 lzutao lzutao 312M Oct 29 04:03 libclippy.so*
```

changelog: none

4 years agoAuto merge of #4753 - mikerite:approx-const-20191029, r=flip1995
bors [Tue, 29 Oct 2019 09:17:53 +0000 (09:17 +0000)]
Auto merge of #4753 - mikerite:approx-const-20191029, r=flip1995

Simplify approx const truncation check

changelog: none

4 years agoSimplify approx const truncation check
Michael Wright [Tue, 29 Oct 2019 06:34:05 +0000 (08:34 +0200)]
Simplify approx const truncation check

4 years agobuild: do not cache clippy binaries in integration tests
Lzu Tao [Tue, 29 Oct 2019 04:08:06 +0000 (11:08 +0700)]
build: do not cache clippy binaries in integration tests

We rebuild clippy anyway.

4 years agoAuto merge of #4720 - lzutao:int-errexit, r=phansch
bors [Tue, 29 Oct 2019 03:16:14 +0000 (03:16 +0000)]
Auto merge of #4720 - lzutao:int-errexit, r=phansch

Do not early exit if cargo clippy returns non-zero status code

changelog: none

4 years agobuild: strip before caching in .cargo/bin
Lzu Tao [Sun, 27 Oct 2019 14:41:47 +0000 (21:41 +0700)]
build: strip before caching in .cargo/bin

4 years agoEarly exit in integration tests
Lzu Tao [Wed, 23 Oct 2019 18:50:00 +0000 (01:50 +0700)]
Early exit in integration tests

4 years agoAuto merge of #4744 - phansch:split_up_some_derive_test, r=flip1995
bors [Mon, 28 Oct 2019 20:26:41 +0000 (20:26 +0000)]
Auto merge of #4744 - phansch:split_up_some_derive_test, r=flip1995

UI test cleanup: Extract derive_hash_xor_eq tests

changelog: none

cc #2038

4 years agoAuto merge of #4749 - flip1995:backport_merge, r=Manishearth
bors [Mon, 28 Oct 2019 17:12:24 +0000 (17:12 +0000)]
Auto merge of #4749 - flip1995:backport_merge, r=Manishearth

Merge backport branches back into master

r? @Manishearth

cc #4745

changelog: none

4 years agoMerge remote-tracking branch 'upstream/rust-1.39.0' into backport_merge
flip1995 [Mon, 28 Oct 2019 15:54:15 +0000 (16:54 +0100)]
Merge remote-tracking branch 'upstream/rust-1.39.0' into backport_merge

4 years agoMerge remote-tracking branch 'upstream/rust-1.38.0' into backport_merge
flip1995 [Mon, 28 Oct 2019 15:53:03 +0000 (16:53 +0100)]
Merge remote-tracking branch 'upstream/rust-1.38.0' into backport_merge

4 years agoMerge remote-tracking branch 'upstream/rust-1.36.0' into backport_merge
flip1995 [Mon, 28 Oct 2019 15:51:15 +0000 (16:51 +0100)]
Merge remote-tracking branch 'upstream/rust-1.36.0' into backport_merge

4 years agoAuto merge of #4747 - matthiaskrgr:rustup_19, r=flip1995
bors [Mon, 28 Oct 2019 14:26:02 +0000 (14:26 +0000)]
Auto merge of #4747 - matthiaskrgr:rustup_19, r=flip1995

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

changelog: none

4 years agotravis: temporarily disable rustfmt ci check until #4742 is resolved
Matthias Krüger [Mon, 28 Oct 2019 09:46:54 +0000 (10:46 +0100)]
travis: temporarily disable rustfmt ci check until #4742 is resolved

4 years agorustup https://github.com/rust-lang/rust/pull/65792/
Matthias Krüger [Mon, 28 Oct 2019 08:02:48 +0000 (09:02 +0100)]
rustup https://github.com/rust-lang/rust/pull/65792/