]> git.lizzy.rs Git - rust.git/log
rust.git
5 years agoFix ty::TyKind usage
flip1995 [Tue, 4 Dec 2018 23:14:44 +0000 (00:14 +0100)]
Fix ty::TyKind usage

5 years agoFix TyKind::<kind> usage in codebase
flip1995 [Tue, 4 Dec 2018 22:19:42 +0000 (23:19 +0100)]
Fix TyKind::<kind> usage in codebase

5 years agoMerge pull request #3490 from phansch/extract_single_match_else_ui_test
Philipp Krones [Tue, 4 Dec 2018 13:57:19 +0000 (14:57 +0100)]
Merge pull request #3490 from phansch/extract_single_match_else_ui_test

Extract single_match_else UI test

5 years agoMerge pull request #3473 from lucasloisp/additional-bool-comparisons
Philipp Hansch [Tue, 4 Dec 2018 06:26:29 +0000 (07:26 +0100)]
Merge pull request #3473 from lucasloisp/additional-bool-comparisons

Adds inequality cases to bool comparison (#3438)

5 years agoMerge pull request #3488 from phansch/fix_cargo_lint_bug
Philipp Hansch [Tue, 4 Dec 2018 06:24:11 +0000 (07:24 +0100)]
Merge pull request #3488 from phansch/fix_cargo_lint_bug

Fix wildcard_dependencies false positive

5 years agoExtract single_match_else UI test
Philipp Hansch [Tue, 4 Dec 2018 06:17:53 +0000 (07:17 +0100)]
Extract single_match_else UI test

There's only one test currently.
I also updated the lint doc with a 'good' example and changed the lint
help text a bit.

cc #2038

5 years agocargo fmt
Philipp Hansch [Tue, 4 Dec 2018 05:47:41 +0000 (06:47 +0100)]
cargo fmt

5 years agoAdds inequality cases to bool comparison lint
Lucas Lois [Fri, 30 Nov 2018 13:21:11 +0000 (10:21 -0300)]
Adds inequality cases to bool comparison lint

The lint now checks cases like `y != true`

5 years agoMerge pull request #3478 from dtolnay/setlen
Oliver S̶c̶h̶n̶e̶i̶d̶e̶r Scherer [Mon, 3 Dec 2018 11:42:31 +0000 (12:42 +0100)]
Merge pull request #3478 from dtolnay/setlen

Remove unsafe_vector_initialization lint

5 years agoRemove unsafe_vector_initialization lint
David Tolnay [Mon, 3 Dec 2018 10:43:01 +0000 (02:43 -0800)]
Remove unsafe_vector_initialization lint

5 years agoMerge pull request #3479 from dtolnay/literal
Oliver S̶c̶h̶n̶e̶i̶d̶e̶r Scherer [Mon, 3 Dec 2018 10:06:56 +0000 (11:06 +0100)]
Merge pull request #3479 from dtolnay/literal

Downgrade large_digit_groups to pedantic

5 years agoFix wildcard_dependencies false positive
Philipp Hansch [Mon, 3 Dec 2018 07:12:35 +0000 (08:12 +0100)]
Fix wildcard_dependencies false positive

This now only checks for wildcard_dependencies if the source is a
non-git source.

I tried adding a compiletest suite for the cargo lints, but I was unable
to override the `Cargo.toml` of the original executable.

I tested this manually by modifying the main `Cargo.toml`.

Fixes #3458

5 years agoMerge pull request #3487 from phansch/fix_fmt
Philipp Hansch [Mon, 3 Dec 2018 06:44:43 +0000 (07:44 +0100)]
Merge pull request #3487 from phansch/fix_fmt

Fix rustfmt format

5 years agoFix rustfmt format
Philipp Hansch [Mon, 3 Dec 2018 06:13:00 +0000 (07:13 +0100)]
Fix rustfmt format

5 years agoMerge pull request #3486 from phansch/make_windows_travis_run_more_stuff
Philipp Hansch [Sun, 2 Dec 2018 15:29:38 +0000 (16:29 +0100)]
Merge pull request #3486 from phansch/make_windows_travis_run_more_stuff

Travis: Add rustc sysroot bin to PATH for windows build

5 years agoDisable incremental build for windows
Philipp Hansch [Sun, 2 Dec 2018 14:08:11 +0000 (15:08 +0100)]
Disable incremental build for windows

Testing if this speeds up compilation time for the Windows CI build.

5 years agoTravis: Add rustc sysroot bin to PATH for windows build
Philipp Hansch [Sun, 2 Dec 2018 13:33:19 +0000 (14:33 +0100)]
Travis: Add rustc sysroot bin to PATH for windows build

5 years agoMerge pull request #3483 from phansch/mention_triage_procedure_in_contributing
Philipp Hansch [Sun, 2 Dec 2018 11:35:14 +0000 (12:35 +0100)]
Merge pull request #3483 from phansch/mention_triage_procedure_in_contributing

Mention triage procedure in contributing.md

5 years agoMerge pull request #3485 from phansch/fix_some_nursery_links
Philipp Hansch [Sun, 2 Dec 2018 11:33:09 +0000 (12:33 +0100)]
Merge pull request #3485 from phansch/fix_some_nursery_links

Fix some nursery links

5 years agoFix some nursery links
Philipp Hansch [Sun, 2 Dec 2018 10:45:05 +0000 (11:45 +0100)]
Fix some nursery links

5 years agoMerge pull request #3484 from phansch/fix_windows_lineendings
Philipp Hansch [Sun, 2 Dec 2018 10:37:05 +0000 (11:37 +0100)]
Merge pull request #3484 from phansch/fix_windows_lineendings

git: Enforce LF lineendings for everything

5 years agoEnforce LF lineendings for everything
Philipp Hansch [Sun, 2 Dec 2018 09:57:56 +0000 (10:57 +0100)]
Enforce LF lineendings for everything

Someone on discord reported issues with UI tests.

This should make sure that git never automatically converts lineendings
for text files to `CRLF`. They should always be `LF` now.

Probably this means that we can stop using dos2unix for #3306, too.

Taken from [Rust's .gitattributes file](https://github.com/rust-lang/rust/blob/master/.gitattributes).

5 years agoMention triage procedure in contributing.md
Philipp Hansch [Sun, 2 Dec 2018 08:33:23 +0000 (09:33 +0100)]
Mention triage procedure in contributing.md

5 years agoKeep testing large_digit_groups as ui test
David Tolnay [Sun, 2 Dec 2018 01:23:53 +0000 (17:23 -0800)]
Keep testing large_digit_groups as ui test

5 years agoKeep testing unsafe_vector_initialization as ui test
David Tolnay [Sun, 2 Dec 2018 01:19:39 +0000 (17:19 -0800)]
Keep testing unsafe_vector_initialization as ui test

5 years agoDowngrade large_digit_groups to pedantic
David Tolnay [Sun, 2 Dec 2018 00:46:03 +0000 (16:46 -0800)]
Downgrade large_digit_groups to pedantic

I believe if the user already decided to put underscores in their
literal, Clippy should be willing to believe that they put a number of
underscores that they felt was readable.

5 years agoDowngrade unsafe_vector_initialization to restriction
David Tolnay [Sun, 2 Dec 2018 00:20:58 +0000 (16:20 -0800)]
Downgrade unsafe_vector_initialization to restriction

This lint looks for:

    let mut vec = Vec::with_capacity(len);
    vec.set_len(len);

The suggested replacement is `vec![0; len]`.

This is far too opinionated to be a deny-by-default lint because the performance
characteristics of the suggested replacement are totally different.

I am not convinced that this lint has value beyond what deny(unsafe_code) gives
you. Unsafe code is unsafe but please don't deny-by-default lint it if that's
the only reason.

5 years agoMerge pull request #3471 from matthiaskrgr/mamor_warn
Philipp Hansch [Fri, 30 Nov 2018 09:20:24 +0000 (10:20 +0100)]
Merge pull request #3471 from matthiaskrgr/mamor_warn

remove macro_at_most_once_rep feature attribute since it's stable

5 years agoremove macro_at_most_once_rep feature attribute since it's stable
Matthias Krüger [Fri, 30 Nov 2018 08:14:18 +0000 (09:14 +0100)]
remove macro_at_most_once_rep feature attribute since it's stable

Warning was:
warning: the feature `macro_at_most_once_rep` has been stable since 1.32.0 and no longer requires an attribute to enable
  --> clippy_lints/src/lib.rs:19:12
   |
19 | #![feature(macro_at_most_once_rep)]
   |            ^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: #[warn(stable_features)] on by default

5 years agoMerge pull request #3465 from flip1995/rustfmt
Oliver S̶c̶h̶n̶e̶i̶d̶e̶r Scherer [Wed, 28 Nov 2018 15:19:55 +0000 (16:19 +0100)]
Merge pull request #3465 from flip1995/rustfmt

rustfmt everything once and for all

5 years agoMerge pull request #3466 from phansch/clippy_rfc_readme
Philipp Krones [Wed, 28 Nov 2018 14:40:44 +0000 (15:40 +0100)]
Merge pull request #3466 from phansch/clippy_rfc_readme

Update docs in regards to the merged RFC

5 years agoAdd missing word
Philipp Krones [Wed, 28 Nov 2018 13:39:25 +0000 (14:39 +0100)]
Add missing word

Co-Authored-By: phansch <dev@phansch.net>
5 years agoUpdate docs in regards to the merged RFC
Philipp Hansch [Wed, 28 Nov 2018 07:11:28 +0000 (08:11 +0100)]
Update docs in regards to the merged RFC

5 years agoMerge pull request #3464 from flip1995/no_fork_integration
Philipp Hansch [Wed, 28 Nov 2018 06:19:49 +0000 (07:19 +0100)]
Merge pull request #3464 from flip1995/no_fork_integration

Don't run integration tests in forks

5 years agoDocument how to run rustfmt in CONTRIBUTING.md
flip1995 [Tue, 27 Nov 2018 21:36:25 +0000 (22:36 +0100)]
Document how to run rustfmt in CONTRIBUTING.md

5 years agoDon't run integration tests in forks
flip1995 [Tue, 27 Nov 2018 21:01:22 +0000 (22:01 +0100)]
Don't run integration tests in forks

5 years agoFix some formatting issues
flip1995 [Tue, 27 Nov 2018 20:49:09 +0000 (21:49 +0100)]
Fix some formatting issues

5 years agoRun rustfmt on clippy_lints
flip1995 [Tue, 27 Nov 2018 20:14:15 +0000 (21:14 +0100)]
Run rustfmt on clippy_lints

5 years agoRun rustfmt on build.rs
flip1995 [Tue, 27 Nov 2018 20:13:26 +0000 (21:13 +0100)]
Run rustfmt on build.rs

5 years agoRun rustfmt on clippy_dev
flip1995 [Tue, 27 Nov 2018 20:13:08 +0000 (21:13 +0100)]
Run rustfmt on clippy_dev

5 years agoRun rustfmt on rustc_tools_util
flip1995 [Tue, 27 Nov 2018 20:12:38 +0000 (21:12 +0100)]
Run rustfmt on rustc_tools_util

5 years agoRun rustfmt on src
flip1995 [Tue, 27 Nov 2018 20:12:13 +0000 (21:12 +0100)]
Run rustfmt on src

5 years agoRun rustfmt on the tests
flip1995 [Tue, 27 Nov 2018 20:11:50 +0000 (21:11 +0100)]
Run rustfmt on the tests

5 years agoLet travis run cargo fmt --all -- --check
flip1995 [Tue, 27 Nov 2018 20:11:05 +0000 (21:11 +0100)]
Let travis run cargo fmt --all -- --check

5 years agoError on line overflow
flip1995 [Tue, 27 Nov 2018 19:46:11 +0000 (20:46 +0100)]
Error on line overflow

5 years agoMerge pull request #3459 from flip1995/sugg_appl
Oliver S̶c̶h̶n̶e̶i̶d̶e̶r Scherer [Tue, 27 Nov 2018 17:29:33 +0000 (18:29 +0100)]
Merge pull request #3459 from flip1995/sugg_appl

Add Applicability to suggestion lints: Take 2

5 years agoFix NAIVE_BYTECOUNT applicability
flip1995 [Tue, 27 Nov 2018 16:31:17 +0000 (17:31 +0100)]
Fix NAIVE_BYTECOUNT applicability

5 years agoFix dogfood error
flip1995 [Tue, 27 Nov 2018 15:59:52 +0000 (16:59 +0100)]
Fix dogfood error

5 years agoChange Applicability of MISTYPED_LITERAL_SUFFIX
flip1995 [Tue, 27 Nov 2018 15:59:39 +0000 (16:59 +0100)]
Change Applicability of MISTYPED_LITERAL_SUFFIX

5 years agoAdd applicability level to (nearly) every span_lint_and_sugg function
flip1995 [Tue, 27 Nov 2018 14:13:57 +0000 (15:13 +0100)]
Add applicability level to (nearly) every span_lint_and_sugg function

5 years agoUpdate stderr file
flip1995 [Tue, 27 Nov 2018 14:27:34 +0000 (15:27 +0100)]
Update stderr file

5 years agoFix bugs and improve documentation
flip1995 [Tue, 27 Nov 2018 14:11:13 +0000 (15:11 +0100)]
Fix bugs and improve documentation

Some bugs and some documentation is unrelated to the Applicability change, but
these bugs were serious and the documentation was kind of required to
understand what's going on.

5 years agoAdd Applicability::Unspecified to span_lint_and_sugg functions
flip1995 [Tue, 20 Nov 2018 13:06:29 +0000 (14:06 +0100)]
Add Applicability::Unspecified to span_lint_and_sugg functions

5 years agoIntroduce snippet_with_applicability and hir_with_applicability functions
flip1995 [Tue, 20 Nov 2018 09:33:40 +0000 (10:33 +0100)]
Introduce snippet_with_applicability and hir_with_applicability functions

5 years agoMerge pull request #3412 from matthiaskrgr/readme_2
Philipp Krones [Mon, 26 Nov 2018 13:31:48 +0000 (14:31 +0100)]
Merge pull request #3412 from matthiaskrgr/readme_2

readme: tell how to install clippy on travis from git if it is not shipped with a nightly.

5 years agoreadme: tell how to install clippy on travis from git if it is not shipped with a...
Matthias Krüger [Sun, 4 Nov 2018 23:12:42 +0000 (00:12 +0100)]
readme: tell how to install clippy on travis from git if it is not shipped with a nightly.

5 years agoMerge pull request #3365 from gnieto/lint/slow-initialization
Oliver S̶c̶h̶n̶e̶i̶d̶e̶r Scherer [Mon, 26 Nov 2018 12:37:46 +0000 (13:37 +0100)]
Merge pull request #3365 from gnieto/lint/slow-initialization

Add slow vector initializations lint

5 years agoMerge pull request #3456 from matthiaskrgr/builtin
Philipp Hansch [Mon, 26 Nov 2018 06:19:14 +0000 (07:19 +0100)]
Merge pull request #3456 from matthiaskrgr/builtin

constants: add u128 i128 builtin types and fix outdated url

5 years agoconstants: add u128 i128 builtin types and fix outdated url
Matthias Krüger [Mon, 26 Nov 2018 00:12:12 +0000 (01:12 +0100)]
constants: add u128 i128 builtin types and fix outdated url

5 years agoUpdate lints
Guillem Nieto [Sun, 25 Nov 2018 22:36:04 +0000 (14:36 -0800)]
Update lints

5 years agoLint only the first statment/expression after alloc
Guillem Nieto [Sun, 18 Nov 2018 22:45:53 +0000 (23:45 +0100)]
Lint only the first statment/expression after alloc

Instead of searching for all the successive expressions after a vector
allocation, check only the first expression.

This is done to minimize the amount of false positives of the lint.

5 years agoFix some warnings related to Self
Guillem Nieto [Mon, 5 Nov 2018 21:46:07 +0000 (22:46 +0100)]
Fix some warnings related to Self

5 years agoRename some symbols
Guillem Nieto [Tue, 30 Oct 2018 20:47:15 +0000 (21:47 +0100)]
Rename some symbols

Renamed some symbols in order to make them a little bit more accurate.

5 years agoSplit lint into slow and unsafe vector initalization
Guillem Nieto [Mon, 29 Oct 2018 23:25:05 +0000 (00:25 +0100)]
Split lint into slow and unsafe vector initalization

5 years agoAdd unsafe set_len initialization
Guillem Nieto [Fri, 26 Oct 2018 20:35:16 +0000 (22:35 +0200)]
Add unsafe set_len initialization

5 years agoAdd slow zero-filled vector initialization lint
Guillem Nieto [Thu, 18 Oct 2018 23:15:48 +0000 (01:15 +0200)]
Add slow zero-filled vector initialization lint

Add lint to detect slow zero-filled vector initialization. It detects
when a vector is zero-filled with extended with `repeat(0).take(len)`
or `resize(len, 0)`.
This zero-fillings are usually slower than simply using `vec![0; len]`.

5 years agoMerge pull request #3439 from dtolnay/npbv
Oliver S̶c̶h̶n̶e̶i̶d̶e̶r Scherer [Sat, 24 Nov 2018 09:16:38 +0000 (10:16 +0100)]
Merge pull request #3439 from dtolnay/npbv

Downgrade needless_pass_by_value to allow by default

5 years agoMerge pull request #3453 from phansch/remove_sudo_false
Philipp Hansch [Fri, 23 Nov 2018 21:13:50 +0000 (22:13 +0100)]
Merge pull request #3453 from phansch/remove_sudo_false

Travis: Remove `sudo: false`

5 years agoTravis: Remove `sudo: false`
Philipp Hansch [Fri, 23 Nov 2018 20:47:02 +0000 (21:47 +0100)]
Travis: Remove `sudo: false`

5 years agoMerge pull request #3452 from matthiaskrgr/rustup
Philipp Hansch [Fri, 23 Nov 2018 09:38:20 +0000 (10:38 +0100)]
Merge pull request #3452 from matthiaskrgr/rustup

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

5 years agorustup https://github.com/rust-lang/rust/pull/54071/
Matthias Krüger [Fri, 23 Nov 2018 09:05:51 +0000 (10:05 +0100)]
rustup https://github.com/rust-lang/rust/pull/54071/

5 years agoMerge pull request #3449 from matthiaskrgr/dep
Philipp Hansch [Thu, 22 Nov 2018 17:54:09 +0000 (18:54 +0100)]
Merge pull request #3449 from matthiaskrgr/dep

dependencies: update pulldown-cmark from 0.1 to 0.2

5 years agodependencies: update pulldown-cmark from 0.1 to 0.2
Matthias Krüger [Thu, 22 Nov 2018 17:04:34 +0000 (18:04 +0100)]
dependencies: update pulldown-cmark from 0.1 to 0.2

5 years agoMerge pull request #3447 from phansch/small_rename
Oliver S̶c̶h̶n̶e̶i̶d̶e̶r Scherer [Thu, 22 Nov 2018 14:08:13 +0000 (15:08 +0100)]
Merge pull request #3447 from phansch/small_rename

s/file_map/source_map

5 years agoMerge pull request #3442 from rust-lang/version_ids
Oliver S̶c̶h̶n̶e̶i̶d̶e̶r Scherer [Thu, 22 Nov 2018 09:46:08 +0000 (10:46 +0100)]
Merge pull request #3442 from rust-lang/version_ids

Enable rustup clippy to refer to the correct documentation

5 years agoMerge branch 'master' into version_ids
Oliver S̶c̶h̶n̶e̶i̶d̶e̶r Scherer [Thu, 22 Nov 2018 09:22:25 +0000 (10:22 +0100)]
Merge branch 'master' into version_ids

5 years agoMerge pull request #3446 from matthiaskrgr/url_update
Oliver S̶c̶h̶n̶e̶i̶d̶e̶r Scherer [Thu, 22 Nov 2018 08:38:56 +0000 (09:38 +0100)]
Merge pull request #3446 from matthiaskrgr/url_update

update urls (rust-lang-nursery => rust-lang)

5 years agos/file_map/source_map
Philipp Hansch [Thu, 22 Nov 2018 06:53:59 +0000 (07:53 +0100)]
s/file_map/source_map

5 years agomissed another one in the README
Matthias Krüger [Thu, 22 Nov 2018 03:50:00 +0000 (04:50 +0100)]
missed another one in the README

5 years agorun "util/dev update_lints"
Matthias Krüger [Thu, 22 Nov 2018 03:43:33 +0000 (04:43 +0100)]
run "util/dev update_lints"

5 years agorust-lang-nursery/rust-clippy => rust-lang/rust-clippy
Matthias Krüger [Thu, 22 Nov 2018 03:40:09 +0000 (04:40 +0100)]
rust-lang-nursery/rust-clippy => rust-lang/rust-clippy

5 years agoMerge #3437
bors[bot] [Wed, 21 Nov 2018 15:04:11 +0000 (15:04 +0000)]
Merge #3437

3437: issue #3318 Run trivially_copy_pass_by_ref for traits r=flip1995 a=waynr

Addresses #3318

Co-authored-by: Wayne Warren <wayne.warren.s@gmail.com>
Co-authored-by: Philipp Krones <hello@philkrones.com>
5 years agoMerge #3443
bors[bot] [Wed, 21 Nov 2018 14:11:24 +0000 (14:11 +0000)]
Merge #3443

3443: Document how to lint local Clippy changes with locally built Clippy r=flip1995 a=waynr

Co-authored-by: Wayne Warren <wayne.warren.s@gmail.com>
5 years agoAddress 'clippy::single-match' dogfood lint
Wayne Warren [Wed, 21 Nov 2018 12:05:52 +0000 (06:05 -0600)]
Address 'clippy::single-match' dogfood lint

5 years agoFix nit
Philipp Krones [Wed, 21 Nov 2018 12:08:33 +0000 (06:08 -0600)]
Fix nit

Co-Authored-By: waynr <wayne.warren.s@gmail.com>
5 years agoAddress travis CI lint failure
Wayne Warren [Wed, 21 Nov 2018 03:21:07 +0000 (21:21 -0600)]
Address travis CI lint failure

5 years agoUpdate trivially_copy_pass_by_ref with Trait stderr output
Wayne Warren [Wed, 21 Nov 2018 01:59:02 +0000 (19:59 -0600)]
Update trivially_copy_pass_by_ref with Trait stderr output

5 years agoissue#3318 run trivially_copy_pass_by_ref for traits
Wayne Warren [Wed, 21 Nov 2018 00:49:15 +0000 (18:49 -0600)]
issue#3318 run trivially_copy_pass_by_ref for traits

5 years agoUpdate trivially_copy_pass_by_ref with Trait examples
Wayne Warren [Wed, 21 Nov 2018 01:57:53 +0000 (19:57 -0600)]
Update trivially_copy_pass_by_ref with Trait examples

5 years agoFix awkward wording
Wayne Warren [Wed, 21 Nov 2018 13:16:03 +0000 (07:16 -0600)]
Fix awkward wording

5 years agoDocument how to lint local Clippy changes with locally built Clippy
Wayne Warren [Wed, 21 Nov 2018 13:12:00 +0000 (07:12 -0600)]
Document how to lint local Clippy changes with locally built Clippy

5 years agoMerge #3441
bors[bot] [Wed, 21 Nov 2018 12:42:57 +0000 (12:42 +0000)]
Merge #3441

3441: rustup https://github.com/rust-lang/rust/pull/52591 r=flip1995 a=matthiaskrgr

Co-authored-by: Matthias Krüger <matthias.krueger@famsik.de>
5 years agoEnable rustup clippy to refer to the correct documentation
Oliver Scherer [Wed, 21 Nov 2018 12:33:42 +0000 (13:33 +0100)]
Enable rustup clippy to refer to the correct documentation

5 years agorustup https://github.com/rust-lang/rust/pull/52591
Matthias Krüger [Wed, 21 Nov 2018 12:29:23 +0000 (13:29 +0100)]
rustup https://github.com/rust-lang/rust/pull/52591

5 years agoDowngrade needless_pass_by_value to allow by default
David Tolnay [Wed, 21 Nov 2018 09:58:27 +0000 (01:58 -0800)]
Downgrade needless_pass_by_value to allow by default

I noticed that I suppress this lint in many of my projects.

https://github.com/search?q=needless_pass_by_value+user%3Adtolnay&type=Code
https://github.com/search?q=needless_pass_by_value+user%3Aserde-rs&type=Code

Upon further inspection, this lint has a *long* history of false
positives (and several remaining).

Generally I feel that this lint is the definition of pedantic and should
not be linted by default.

    #[derive(Debug)]
    enum How {
        ThisWay,
        ThatWay,
    }

    // Are we really better off forcing the call sites to write f(&_)...?
    fn f(how: How) {
        println!("You want to do it {:?}", how);
    }

    fn main() {
        f(How::ThatWay);
    }

5 years agoMerge #3432
bors[bot] [Mon, 19 Nov 2018 21:07:49 +0000 (21:07 +0000)]
Merge #3432

3432: match_ref_pats: don't emit suggestions inside of a macro r=Manishearth a=flip1995

Fixes #2636

Co-authored-by: flip1995 <hello@philkrones.com>
5 years agoMerge #3435
bors[bot] [Sat, 17 Nov 2018 15:24:10 +0000 (15:24 +0000)]
Merge #3435

3435: remove unused allow() attributes, NFC r=flip1995 a=matthiaskrgr

Co-authored-by: Matthias Krüger <matthias.krueger@famsik.de>
5 years agoremove unused allow() attributes, NFC
Matthias Krüger [Sat, 17 Nov 2018 12:47:27 +0000 (13:47 +0100)]
remove unused allow() attributes, NFC

5 years agoMerge #3431
bors[bot] [Thu, 15 Nov 2018 16:10:48 +0000 (16:10 +0000)]
Merge #3431

3431: rustup https://github.com/rust-lang/rust/pull/55852/ r=flip1995 a=matthiaskrgr

Co-authored-by: Matthias Krüger <matthias.krueger@famsik.de>
5 years agoAdd regression test
flip1995 [Thu, 15 Nov 2018 16:03:41 +0000 (17:03 +0100)]
Add regression test