]> git.lizzy.rs Git - rust.git/log
rust.git
5 years agoRemove implied rust_2018 feature
Manish Goregaokar [Mon, 20 Aug 2018 02:07:31 +0000 (19:07 -0700)]
Remove implied rust_2018 feature

We are already on the edition and this feature is implied.

5 years agocodemap -> source_map
Manish Goregaokar [Mon, 20 Aug 2018 02:06:53 +0000 (19:06 -0700)]
codemap -> source_map

https://github.com/rust-lang/rust/pull/52953

5 years agoMerge pull request #3056 from mikerite/fix-2927
Oliver Schneider [Thu, 16 Aug 2018 06:20:51 +0000 (08:20 +0200)]
Merge pull request #3056 from mikerite/fix-2927

Fix #2927

5 years agofix-2927: Update formatting
Michael Wright [Thu, 16 Aug 2018 05:13:52 +0000 (07:13 +0200)]
fix-2927: Update formatting

5 years agoFix #2927
Michael Wright [Wed, 15 Aug 2018 06:11:07 +0000 (08:11 +0200)]
Fix #2927

5 years agoRustup to rustc 1.30.0-nightly (23f09bbed 2018-08-14)
Manish Goregaokar [Tue, 14 Aug 2018 18:26:28 +0000 (11:26 -0700)]
Rustup to rustc 1.30.0-nightly (23f09bbed 2018-08-14)

5 years agoMerge pull request #3026 from dwijnand/fxhash
Philipp Krones [Tue, 14 Aug 2018 11:04:48 +0000 (13:04 +0200)]
Merge pull request #3026 from dwijnand/fxhash

Add an internal lint for FxHashMap/FxHashSet

5 years agoMerge pull request #3049 from mikerite/fix-2799
Philipp Krones [Tue, 14 Aug 2018 10:55:13 +0000 (12:55 +0200)]
Merge pull request #3049 from mikerite/fix-2799

Add a test to ensure that #2799 is fixed

5 years agoMerge pull request #3014 from estk/allow-write-multi-newline
Philipp Krones [Tue, 14 Aug 2018 10:54:05 +0000 (12:54 +0200)]
Merge pull request #3014 from estk/allow-write-multi-newline

Allow print/write with multiple newlines

5 years agoMerge pull request #3036 from matthiaskrgr/clippy_self
Philipp Krones [Tue, 14 Aug 2018 10:53:01 +0000 (12:53 +0200)]
Merge pull request #3036 from matthiaskrgr/clippy_self

fix 2 clippy warnings

5 years agoMerge pull request #3022 from dwijnand/move-shadow_unrelated
Philipp Krones [Tue, 14 Aug 2018 10:50:46 +0000 (12:50 +0200)]
Merge pull request #3022 from dwijnand/move-shadow_unrelated

Move shadow_unrelated to pedantic

5 years agoMove shadow_unrelated to pedantic
Dale Wijnand [Thu, 9 Aug 2018 16:26:22 +0000 (17:26 +0100)]
Move shadow_unrelated to pedantic

5 years agoAvoid new_without_default_derive in DefaultHashTypes
Dale Wijnand [Tue, 14 Aug 2018 08:25:09 +0000 (09:25 +0100)]
Avoid new_without_default_derive in DefaultHashTypes

5 years agoAdd a test to ensure that #2799 is fixed
Michael Wright [Tue, 14 Aug 2018 05:27:56 +0000 (07:27 +0200)]
Add a test to ensure that #2799 is fixed

Closes #2799

5 years agoUse utils::span_lint_and_sugg in default_hash_types
Dale Wijnand [Mon, 13 Aug 2018 07:23:07 +0000 (08:23 +0100)]
Use utils::span_lint_and_sugg in default_hash_types

5 years agoMerge pull request #3038 from matthiaskrgr/clippy_docs
Martin Carton [Sun, 12 Aug 2018 19:35:52 +0000 (21:35 +0200)]
Merge pull request #3038 from matthiaskrgr/clippy_docs

docs: add more suggestions on how to fix clippy findings to the online lint list

5 years agoMerge pull request #3042 from matthiaskrgr/py3
Martin Carton [Sun, 12 Aug 2018 17:11:07 +0000 (19:11 +0200)]
Merge pull request #3042 from matthiaskrgr/py3

update_lints.py: port another print to print() for python3 compatibility.

5 years agoAdd an internal lint for FxHashMap/FxHashSet
Dale Wijnand [Fri, 10 Aug 2018 17:58:23 +0000 (18:58 +0100)]
Add an internal lint for FxHashMap/FxHashSet

5 years agoupdate_lints.py: port another print to print() for python3 compatibility.
Matthias Krüger [Sun, 12 Aug 2018 09:33:44 +0000 (11:33 +0200)]
update_lints.py: port another print to print() for python3 compatibility.

5 years agodocs: add more suggestions on how to fix clippy findings to the online lint list.
Matthias Krüger [Sat, 11 Aug 2018 22:16:03 +0000 (00:16 +0200)]
docs: add more suggestions on how to fix clippy findings to the online lint list.

5 years agofix 2 clippy warnings
Matthias Krüger [Sat, 11 Aug 2018 21:07:04 +0000 (23:07 +0200)]
fix 2 clippy warnings

5 years agoMerge pull request #3019 from auscompgeek/patch-1
Martin Carton [Fri, 10 Aug 2018 17:07:52 +0000 (19:07 +0200)]
Merge pull request #3019 from auscompgeek/patch-1

lintlib: Use Python 3 compatible print

5 years agolintlib: Use Python 3 compatible print
David Vo [Thu, 9 Aug 2018 07:29:22 +0000 (17:29 +1000)]
lintlib: Use Python 3 compatible print

Ref: #2882

5 years agoUpdate to rustc master
Oliver Schneider [Wed, 8 Aug 2018 11:18:25 +0000 (13:18 +0200)]
Update to rustc master

5 years agoMerge pull request #2823 from flip1995/thingies_things
Oliver Schneider [Wed, 8 Aug 2018 11:14:20 +0000 (13:14 +0200)]
Merge pull request #2823 from flip1995/thingies_things

Replace cfg_attr(rustfmt... with rustfmt::skip

5 years agoFix build
Nick Cameron [Wed, 8 Aug 2018 06:00:23 +0000 (18:00 +1200)]
Fix build

5 years agoAllow print/write with multiple newlines
Evan Simmons [Tue, 7 Aug 2018 20:01:10 +0000 (12:01 -0800)]
Allow print/write with multiple newlines

5 years agoRustup
Oliver Schneider [Tue, 7 Aug 2018 14:34:17 +0000 (16:34 +0200)]
Rustup

5 years agoMerge pull request #3009 from dwijnand/option-map_or
Oliver Schneider [Tue, 7 Aug 2018 11:11:30 +0000 (13:11 +0200)]
Merge pull request #3009 from dwijnand/option-map_or

Use Option::map_or

5 years agoMerge pull request #3008 from dwijnand/remove-workaround
Oliver Schneider [Tue, 7 Aug 2018 11:10:54 +0000 (13:10 +0200)]
Merge pull request #3008 from dwijnand/remove-workaround

Remove #[allow(rust_2018_idioms)] workaround

5 years agoMerge pull request #3010 from mikerite/issue2971
Oliver Schneider [Tue, 7 Aug 2018 11:10:26 +0000 (13:10 +0200)]
Merge pull request #3010 from mikerite/issue2971

Fix #2971

5 years agoMerge pull request #3011 from scottmcm/fix-for-impl_header_lifetime_elision
Oliver Schneider [Tue, 7 Aug 2018 11:09:23 +0000 (13:09 +0200)]
Merge pull request #3011 from scottmcm/fix-for-impl_header_lifetime_elision

Fix the build after rust PR 53016

5 years agoFix the build after https://github.com/rust-lang/rust/pull/53016
Scott McMurray [Tue, 7 Aug 2018 07:05:09 +0000 (00:05 -0700)]
Fix the build after https://github.com/rust-lang/rust/pull/53016

In-band lifetimes are no longer in the edition, so update the one place that was using them.

5 years agoFix #2971
Michael Wright [Tue, 7 Aug 2018 03:37:11 +0000 (05:37 +0200)]
Fix #2971

5 years agoUse Option::map_or
Dale Wijnand [Mon, 6 Aug 2018 13:42:08 +0000 (15:42 +0200)]
Use Option::map_or

5 years agoRemove #[allow(rust_2018_idioms)] workaround
Dale Wijnand [Mon, 6 Aug 2018 13:10:48 +0000 (15:10 +0200)]
Remove #[allow(rust_2018_idioms)] workaround

5 years agoMerge pull request #3007 from mikerite/issue3000
Oliver Schneider [Mon, 6 Aug 2018 07:16:42 +0000 (09:16 +0200)]
Merge pull request #3007 from mikerite/issue3000

Fix #3000

5 years agoFix #3000
Michael Wright [Mon, 6 Aug 2018 06:20:50 +0000 (08:20 +0200)]
Fix #3000

5 years agoMerge pull request #2999 from flip1995/single_char_pattern
Philipp Hansch [Mon, 6 Aug 2018 06:05:04 +0000 (07:05 +0100)]
Merge pull request #2999 from flip1995/single_char_pattern

Fix single_char_pattern lint for escaped chars

5 years agoMerge pull request #2975 from aaudiber/lint-identity-into-iter
Philipp Hansch [Sun, 5 Aug 2018 19:38:28 +0000 (20:38 +0100)]
Merge pull request #2975 from aaudiber/lint-identity-into-iter

Lint using identity into_iter conversion

5 years agoMerge pull request #2991 from mikerite/issue2979
Philipp Hansch [Sun, 5 Aug 2018 19:35:55 +0000 (20:35 +0100)]
Merge pull request #2991 from mikerite/issue2979

Fix #2979

5 years agoMerge pull request #3003 from nrc/update
Manish Goregaokar [Sat, 4 Aug 2018 22:02:48 +0000 (15:02 -0700)]
Merge pull request #3003 from nrc/update

Fix error in `CrateType` in latest Rust

5 years agoFix error in `CrateType` in latest Rust
Nick Cameron [Sat, 4 Aug 2018 21:35:08 +0000 (09:35 +1200)]
Fix error in `CrateType` in latest Rust

5 years agoMerge pull request #3002 from rust-lang-nursery/rustup
Manish Goregaokar [Fri, 3 Aug 2018 17:15:45 +0000 (10:15 -0700)]
Merge pull request #3002 from rust-lang-nursery/rustup

Rustup to 59fa6bd6c

5 years agoRustup to 59fa6bd6c
Manish Goregaokar [Fri, 3 Aug 2018 17:14:25 +0000 (10:14 -0700)]
Rustup to 59fa6bd6c

5 years agoFix single_char_pattern lint for escaped chars
flip1995 [Fri, 3 Aug 2018 08:19:29 +0000 (10:19 +0200)]
Fix single_char_pattern lint for escaped chars

5 years agoFix fallout from rust-lang/rust#52841
Alex Crichton [Fri, 3 Aug 2018 01:08:22 +0000 (18:08 -0700)]
Fix fallout from rust-lang/rust#52841

5 years agoFix tests from 40349b23ea
Alex Crichton [Thu, 2 Aug 2018 21:14:48 +0000 (14:14 -0700)]
Fix tests from 40349b23ea

5 years agoReplace cfg_attr(rustfmt... thingies
flip1995 [Wed, 30 May 2018 16:24:44 +0000 (18:24 +0200)]
Replace cfg_attr(rustfmt... thingies

5 years agoMerge pull request #2992 from etaoins/allow-pass-by-ref-on-adt-return
Philipp Krones [Thu, 2 Aug 2018 20:39:04 +0000 (22:39 +0200)]
Merge pull request #2992 from etaoins/allow-pass-by-ref-on-adt-return

Allow pass by ref when returning ADT with ref

5 years agoFix breakage from rust-lang/rust#52949
Alex Crichton [Thu, 2 Aug 2018 20:00:14 +0000 (13:00 -0700)]
Fix breakage from rust-lang/rust#52949

5 years agoMake indexing_slicing a restriction lint (fixes #2933)
Manish Goregaokar [Thu, 2 Aug 2018 17:06:03 +0000 (10:06 -0700)]
Make indexing_slicing a restriction lint (fixes #2933)

5 years agoMerge pull request #2995 from reujab/master
Manish Goregaokar [Thu, 2 Aug 2018 16:54:12 +0000 (09:54 -0700)]
Merge pull request #2995 from reujab/master

Removed colon in documentation

5 years agoremoved colon
reujab [Thu, 2 Aug 2018 15:52:46 +0000 (11:52 -0400)]
removed colon

5 years agoAllow pass by ref when returning ADT with ref
Ryan Cumming [Thu, 2 Aug 2018 07:57:49 +0000 (17:57 +1000)]
Allow pass by ref when returning ADT with ref

This is a follow-up to #2951 that extends the logic to allow for
returning references inside structs/enums/unions. This was a simple
oversight in the first version and it's surprisingly easy to handle.

5 years agoFix #2979
Michael Wright [Thu, 2 Aug 2018 06:56:53 +0000 (08:56 +0200)]
Fix #2979

5 years agoSwitch strategies for how rustc's workspace is unioned
Alex Crichton [Thu, 2 Aug 2018 04:33:33 +0000 (21:33 -0700)]
Switch strategies for how rustc's workspace is unioned

See rust-lang/rust#52919 for more details.

5 years agoMerge pull request #2987 from aaudiber/address-build-warning
Philipp Hansch [Wed, 1 Aug 2018 07:23:33 +0000 (08:23 +0100)]
Merge pull request #2987 from aaudiber/address-build-warning

Address build warning

5 years agoAddress build warning
Andrew Audibert [Wed, 1 Aug 2018 06:53:45 +0000 (23:53 -0700)]
Address build warning

5 years agoMerge pull request #2966 from matthiaskrgr/moar_dogfood
Philipp Hansch [Wed, 1 Aug 2018 06:08:54 +0000 (07:08 +0100)]
Merge pull request #2966 from matthiaskrgr/moar_dogfood

travis: run tests of external projects with --all-targets --all-features, increase coverage

5 years agoMerge pull request #2968 from phansch/first_an_ICE_and_then_some_ice_cream
Philipp Hansch [Wed, 1 Aug 2018 05:18:34 +0000 (06:18 +0100)]
Merge pull request #2968 from phansch/first_an_ICE_and_then_some_ice_cream

Fix ICE with 'while let Some(..) = x.iter()'

5 years agoMerge pull request #2983 from mikerite/fix_warnings_20180730
Philipp Hansch [Wed, 1 Aug 2018 05:18:18 +0000 (06:18 +0100)]
Merge pull request #2983 from mikerite/fix_warnings_20180730

Fix compiler warnings

5 years agoFix E0502 warnings
Michael Wright [Wed, 1 Aug 2018 04:32:36 +0000 (06:32 +0200)]
Fix E0502 warnings

Fixes #2982

5 years agoMerge pull request #2984 from flip1995/single_char_pattern
Philipp Hansch [Tue, 31 Jul 2018 18:06:57 +0000 (19:06 +0100)]
Merge pull request #2984 from flip1995/single_char_pattern

single_char_pattern: lint only on the argument span

5 years agosingle_char_pattern: lint only on the argument span
flip1995 [Tue, 31 Jul 2018 10:20:32 +0000 (12:20 +0200)]
single_char_pattern: lint only on the argument span

5 years agoFix unused_mut warning
Michael Wright [Tue, 31 Jul 2018 05:45:05 +0000 (07:45 +0200)]
Fix unused_mut warning

5 years agoMerge pull request #2969 from matthiaskrgr/discordgitter
Manish Goregaokar [Mon, 30 Jul 2018 17:18:49 +0000 (10:18 -0700)]
Merge pull request #2969 from matthiaskrgr/discordgitter

CONTRIBUTING: mention discord channel

5 years agoLint using identity into_iter conversion
Andrew Audibert [Mon, 30 Jul 2018 04:02:05 +0000 (21:02 -0700)]
Lint using identity into_iter conversion

5 years agointegration tests: add more clippy warnings for greater coverage
Matthias Krüger [Sat, 28 Jul 2018 10:14:35 +0000 (12:14 +0200)]
integration tests: add more clippy warnings for greater coverage
integration/base tests: add a few code comments

5 years agotravis: run tests of external projects with --all-targets --all-features -- --cap...
Matthias Krüger [Fri, 27 Jul 2018 13:36:13 +0000 (15:36 +0200)]
travis: run tests of external projects with --all-targets --all-features -- --cap-lints warn

5 years agoCONTRIBUTING: mention discord channel.
Matthias Krüger [Sat, 28 Jul 2018 11:54:49 +0000 (13:54 +0200)]
CONTRIBUTING: mention discord channel.

5 years agoMerge pull request #2917 from mikerite/issue2894
Philipp Krones [Sun, 29 Jul 2018 21:54:03 +0000 (23:54 +0200)]
Merge pull request #2917 from mikerite/issue2894

Fix #2894

5 years agoMerge pull request #2959 from chrisduerr/master
Philipp Hansch [Sun, 29 Jul 2018 10:15:17 +0000 (12:15 +0200)]
Merge pull request #2959 from chrisduerr/master

Add known problem to `needless_borrow` lint

5 years agoFix ICE with 'while let (..) = x.iter()'
Philipp Hansch [Sat, 28 Jul 2018 09:51:46 +0000 (11:51 +0200)]
Fix ICE with 'while let (..) = x.iter()'

5 years agoAdd `use_self` comment
Michael Wright [Sat, 28 Jul 2018 08:42:21 +0000 (10:42 +0200)]
Add `use_self` comment

5 years agoMerge branch 'master' into issue2894
Michael Wright [Sat, 28 Jul 2018 06:41:10 +0000 (08:41 +0200)]
Merge branch 'master' into issue2894

5 years agoMerge pull request #2963 from commandline/master
Oliver Schneider [Thu, 26 Jul 2018 08:11:34 +0000 (10:11 +0200)]
Merge pull request #2963 from commandline/master

Fix regression in print_literal

5 years agoFix copy-paste error
Thomas Gideon [Wed, 25 Jul 2018 22:14:11 +0000 (18:14 -0400)]
Fix copy-paste error

5 years agoAnd the ones annotating the source file name.
Thomas Gideon [Wed, 25 Jul 2018 22:00:19 +0000 (18:00 -0400)]
And the ones annotating the source file name.

5 years agoUpdate line numbers
Thomas Gideon [Wed, 25 Jul 2018 21:51:04 +0000 (17:51 -0400)]
Update line numbers

5 years agoFix regression in print_literal
Thomas Gideon [Wed, 25 Jul 2018 21:31:17 +0000 (17:31 -0400)]
Fix regression in print_literal

5 years agoMerge pull request #2960 from matthiaskrgr/typos
Philipp Hansch [Wed, 25 Jul 2018 20:57:10 +0000 (22:57 +0200)]
Merge pull request #2960 from matthiaskrgr/typos

fix a bunch of typos found by codespell

5 years agoMerge pull request #2948 from Nemo157/patch-1
Philipp Hansch [Wed, 25 Jul 2018 20:55:36 +0000 (22:55 +0200)]
Merge pull request #2948 from Nemo157/patch-1

Add known problem for redundant_closure lint

5 years agofix a bunch of typos found by codespell
Matthias Krüger [Wed, 25 Jul 2018 18:02:52 +0000 (20:02 +0200)]
fix a bunch of typos found by codespell

5 years agoMerge branch 'master' into typos
Matthias Krüger [Wed, 25 Jul 2018 17:54:45 +0000 (19:54 +0200)]
Merge branch 'master' into typos

5 years agoAdd known problem to `needless_borrow` lint
Christian Duerr [Wed, 25 Jul 2018 12:54:09 +0000 (14:54 +0200)]
Add known problem to `needless_borrow` lint

The `needless_borrow` lint is temporarily disabled because of some false
positives it causes in combination with the `derive` macro.

However the documentation does not explain these issues, but instead
lists `Known problems: None`. To make it clear why this lint is
currently not enabled, a description of the false positives caused by
this lint has been added to the `Known problems` section.

5 years agoMerge pull request #2958 from phansch/small_text_change_for_update_lints
Philipp Hansch [Wed, 25 Jul 2018 06:48:56 +0000 (08:48 +0200)]
Merge pull request #2958 from phansch/small_text_change_for_update_lints

s/wiki/lint list/

5 years agos/wiki/lint list/
Philipp Hansch [Mon, 23 Jul 2018 05:29:53 +0000 (07:29 +0200)]
s/wiki/lint list/

5 years agoFix warnings
Michael Wright [Wed, 25 Jul 2018 04:34:29 +0000 (06:34 +0200)]
Fix warnings

5 years agoMerge branch 'master' into issue2894
Michael Wright [Wed, 25 Jul 2018 04:27:36 +0000 (06:27 +0200)]
Merge branch 'master' into issue2894

5 years agoMerge pull request #2952 from dwijnand/upstream-in_external_macro
Manish Goregaokar [Tue, 24 Jul 2018 15:27:38 +0000 (08:27 -0700)]
Merge pull request #2952 from dwijnand/upstream-in_external_macro

Switch to rustc's in_external_macro function

5 years agoInline utils::in_external_macro
Dale Wijnand [Tue, 24 Jul 2018 06:55:38 +0000 (07:55 +0100)]
Inline utils::in_external_macro

5 years agoDelegate utils::in_external_macro to rustc::lint::in_external_macro
Dale Wijnand [Tue, 24 Jul 2018 06:49:39 +0000 (07:49 +0100)]
Delegate utils::in_external_macro to rustc::lint::in_external_macro

5 years agoMerge pull request #2951 from etaoins/allow-pass-by-ref-on-ref-return
Philipp Krones [Tue, 24 Jul 2018 09:23:01 +0000 (11:23 +0200)]
Merge pull request #2951 from etaoins/allow-pass-by-ref-on-ref-return

Allow pass by reference if we return a reference

5 years agoMerge pull request #2953 from dwijnand/misrefactored_assign_op-known-problem-doc
Philipp Krones [Tue, 24 Jul 2018 09:19:58 +0000 (11:19 +0200)]
Merge pull request #2953 from dwijnand/misrefactored_assign_op-known-problem-doc

Expand on misrefactored_assign_op known problems

5 years agoMerge branch 'master' into allow-pass-by-ref-on-ref-return
Ryan Cumming [Tue, 24 Jul 2018 09:03:43 +0000 (19:03 +1000)]
Merge branch 'master' into allow-pass-by-ref-on-ref-return

5 years agoTweak
Dale Wijnand [Tue, 24 Jul 2018 08:26:28 +0000 (09:26 +0100)]
Tweak
misrefactored_assign_op's known problems wording

5 years agoMerge pull request #2949 from rust-lang-nursery/preexpansion
Oliver Schneider [Tue, 24 Jul 2018 08:08:50 +0000 (10:08 +0200)]
Merge pull request #2949 from rust-lang-nursery/preexpansion

Rewrite the print/write macro checks as a PreExpansionPass

5 years agoExpand on misrefactored_assign_op known problems
Dale Wijnand [Tue, 24 Jul 2018 07:39:18 +0000 (08:39 +0100)]
Expand on misrefactored_assign_op known problems

5 years agoRustup
Oliver Schneider [Mon, 23 Jul 2018 11:01:12 +0000 (13:01 +0200)]
Rustup