]>
git.lizzy.rs Git - rust.git/log
Nick Cameron [Sat, 4 Aug 2018 21:35:08 +0000 (09:35 +1200)]
Fix error in `CrateType` in latest Rust
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
Manish Goregaokar [Fri, 3 Aug 2018 17:14:25 +0000 (10:14 -0700)]
flip1995 [Fri, 3 Aug 2018 08:19:29 +0000 (10:19 +0200)]
Fix single_char_pattern lint for escaped chars
Alex Crichton [Fri, 3 Aug 2018 01:08:22 +0000 (18:08 -0700)]
Fix fallout from rust-lang/rust#52841
Alex Crichton [Thu, 2 Aug 2018 21:14:48 +0000 (14:14 -0700)]
Fix tests from
40349b23ea
flip1995 [Wed, 30 May 2018 16:24:44 +0000 (18:24 +0200)]
Replace cfg_attr(rustfmt... thingies
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
Alex Crichton [Thu, 2 Aug 2018 20:00:14 +0000 (13:00 -0700)]
Fix breakage from rust-lang/rust#52949
Manish Goregaokar [Thu, 2 Aug 2018 17:06:03 +0000 (10:06 -0700)]
Make indexing_slicing a restriction lint (fixes #2933)
Manish Goregaokar [Thu, 2 Aug 2018 16:54:12 +0000 (09:54 -0700)]
Merge pull request #2995 from reujab/master
Removed colon in documentation
reujab [Thu, 2 Aug 2018 15:52:46 +0000 (11:52 -0400)]
removed colon
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.
Michael Wright [Thu, 2 Aug 2018 06:56:53 +0000 (08:56 +0200)]
Fix #2979
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.
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
Andrew Audibert [Wed, 1 Aug 2018 06:53:45 +0000 (23:53 -0700)]
Address build warning
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
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()'
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
Michael Wright [Wed, 1 Aug 2018 04:32:36 +0000 (06:32 +0200)]
Fix E0502 warnings
Fixes #2982
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
flip1995 [Tue, 31 Jul 2018 10:20:32 +0000 (12:20 +0200)]
single_char_pattern: lint only on the argument span
Michael Wright [Tue, 31 Jul 2018 05:45:05 +0000 (07:45 +0200)]
Fix unused_mut warning
Manish Goregaokar [Mon, 30 Jul 2018 17:18:49 +0000 (10:18 -0700)]
Merge pull request #2969 from matthiaskrgr/discordgitter
CONTRIBUTING: mention discord channel
Andrew Audibert [Mon, 30 Jul 2018 04:02:05 +0000 (21:02 -0700)]
Lint using identity into_iter conversion
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
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
Matthias Krüger [Sat, 28 Jul 2018 11:54:49 +0000 (13:54 +0200)]
CONTRIBUTING: mention discord channel.
Philipp Krones [Sun, 29 Jul 2018 21:54:03 +0000 (23:54 +0200)]
Merge pull request #2917 from mikerite/issue2894
Fix #2894
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
Philipp Hansch [Sat, 28 Jul 2018 09:51:46 +0000 (11:51 +0200)]
Fix ICE with 'while let (..) = x.iter()'
Michael Wright [Sat, 28 Jul 2018 08:42:21 +0000 (10:42 +0200)]
Add `use_self` comment
Michael Wright [Sat, 28 Jul 2018 06:41:10 +0000 (08:41 +0200)]
Merge branch 'master' into issue2894
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
Thomas Gideon [Wed, 25 Jul 2018 22:14:11 +0000 (18:14 -0400)]
Fix copy-paste error
Thomas Gideon [Wed, 25 Jul 2018 22:00:19 +0000 (18:00 -0400)]
And the ones annotating the source file name.
Thomas Gideon [Wed, 25 Jul 2018 21:51:04 +0000 (17:51 -0400)]
Update line numbers
Thomas Gideon [Wed, 25 Jul 2018 21:31:17 +0000 (17:31 -0400)]
Fix regression in print_literal
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
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
Matthias Krüger [Wed, 25 Jul 2018 18:02:52 +0000 (20:02 +0200)]
fix a bunch of typos found by codespell
Matthias Krüger [Wed, 25 Jul 2018 17:54:45 +0000 (19:54 +0200)]
Merge branch 'master' into typos
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.
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/
Philipp Hansch [Mon, 23 Jul 2018 05:29:53 +0000 (07:29 +0200)]
s/wiki/lint list/
Michael Wright [Wed, 25 Jul 2018 04:34:29 +0000 (06:34 +0200)]
Fix warnings
Michael Wright [Wed, 25 Jul 2018 04:27:36 +0000 (06:27 +0200)]
Merge branch 'master' into issue2894
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
Dale Wijnand [Tue, 24 Jul 2018 06:55:38 +0000 (07:55 +0100)]
Inline utils::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
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
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
Ryan Cumming [Tue, 24 Jul 2018 09:03:43 +0000 (19:03 +1000)]
Merge branch 'master' into allow-pass-by-ref-on-ref-return
Dale Wijnand [Tue, 24 Jul 2018 08:26:28 +0000 (09:26 +0100)]
Tweak
misrefactored_assign_op's known problems wording
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
Dale Wijnand [Tue, 24 Jul 2018 07:39:18 +0000 (08:39 +0100)]
Expand on misrefactored_assign_op known problems
Oliver Schneider [Mon, 23 Jul 2018 11:01:12 +0000 (13:01 +0200)]
Rustup
Ryan Cumming [Mon, 23 Jul 2018 09:37:41 +0000 (19:37 +1000)]
Wrap comment at 80 columns
Ryan Cumming [Mon, 23 Jul 2018 09:33:52 +0000 (19:33 +1000)]
Add Known Problem for multiple lifetimes
Ryan Cumming [Mon, 23 Jul 2018 08:33:47 +0000 (18:33 +1000)]
Allow pass by reference if we return a reference
Currently this code will trigger `trivally_copy_pass_by_ref`:
```
struct OuterStruct {
field: [u8; 8],
}
fn return_inner(outer: &OuterStruct) -> &[u8] {
&outer.field
}
```
If we change the `outer` to be pass-by-value it will not live long
enough for us to return the reference. The above example is trivial but
I've hit this in real code that either returns a reference to either the
argument or in to `self`.
This suppresses the `trivally_copy_pass_by_ref` lint if we return a
reference and it has the same lifetime as the argument. This will likely
miss complex cases with multiple lifetimes bounded by each other but it
should cover the majority of cases with little effort.
Oliver Schneider [Sun, 22 Jul 2018 22:19:07 +0000 (00:19 +0200)]
Rewrite the print/write macro checks as a PreExpansionPass
Wim [Sat, 21 Jul 2018 16:05:02 +0000 (18:05 +0200)]
Add known problem for redundant_closure lint
Documenting https://github.com/rust-lang-nursery/rust-clippy/issues/1439 until it gets fixed.
Oliver Schneider [Sat, 21 Jul 2018 10:36:01 +0000 (12:36 +0200)]
Don't invent new magic keywords
Oliver Schneider [Fri, 20 Jul 2018 20:50:04 +0000 (22:50 +0200)]
Rustup
Manish Goregaokar [Fri, 20 Jul 2018 07:52:01 +0000 (00:52 -0700)]
Merge branch 'macro-use' into HEAD
Manish Goregaokar [Fri, 20 Jul 2018 07:51:57 +0000 (00:51 -0700)]
Merge branch 'pr-2939' into HEAD
Manish Goregaokar [Fri, 20 Jul 2018 07:47:24 +0000 (00:47 -0700)]
Update dependencies
Manish Goregaokar [Thu, 19 Jul 2018 08:06:29 +0000 (01:06 -0700)]
Remove warning
Manish Goregaokar [Thu, 19 Jul 2018 08:00:54 +0000 (01:00 -0700)]
Remove import of if_chain
Alexander Regueiro [Fri, 20 Jul 2018 02:59:07 +0000 (03:59 +0100)]
Update to nightly
Philipp Krones [Thu, 19 Jul 2018 12:57:28 +0000 (14:57 +0200)]
Merge pull request #2936 from flip1995/useless_lint_attr
Fix useless_attribute lint for extern crate items with macro_use
Philipp Krones [Thu, 19 Jul 2018 12:36:30 +0000 (14:36 +0200)]
Merge pull request #2938 from flip1995/travis
Remove duplication of the cargo and rls repos from travis
flip1995 [Thu, 19 Jul 2018 12:14:12 +0000 (14:14 +0200)]
Remove duplication of the cargo and rls repos from travis
flip1995 [Thu, 19 Jul 2018 11:44:26 +0000 (13:44 +0200)]
Skip useless_attribute lint on allow(unused_imports) on extern crate items with macro_use
Manish Goregaokar [Thu, 19 Jul 2018 07:24:19 +0000 (00:24 -0700)]
Remove import of matches
Manish Goregaokar [Thu, 19 Jul 2018 07:53:23 +0000 (00:53 -0700)]
Remove import of rustc
Manish Goregaokar [Thu, 19 Jul 2018 07:11:15 +0000 (00:11 -0700)]
Remove import of lazy_static
Manish Goregaokar [Thu, 19 Jul 2018 07:02:08 +0000 (00:02 -0700)]
Remove import of serde
Manish Goregaokar [Thu, 19 Jul 2018 06:50:37 +0000 (23:50 -0700)]
Merge pull request #2934 from pickfire/patch-1
Improve website panel heading experience
Ivan Tham [Thu, 19 Jul 2018 06:12:47 +0000 (14:12 +0800)]
Improve website panel heading experience
Manish Goregaokar [Thu, 19 Jul 2018 03:24:37 +0000 (20:24 -0700)]
Temporarily allow macro_use_extern_crate
Michael Wright [Wed, 18 Jul 2018 05:57:50 +0000 (07:57 +0200)]
use_self: Simplify spanning
Michael Wright [Tue, 17 Jul 2018 06:20:49 +0000 (08:20 +0200)]
Fix use_self regressions
Michael Wright [Tue, 17 Jul 2018 04:32:39 +0000 (06:32 +0200)]
Merge branch 'master' into issue2894
Manish Goregaokar [Mon, 16 Jul 2018 23:41:50 +0000 (16:41 -0700)]
Merge pull request #2923 from rust-lang-nursery/kind
Rustup to
1ecf6929dc3b309cdfcb7239260777dab38242b9
Manish Goregaokar [Mon, 16 Jul 2018 23:29:09 +0000 (16:29 -0700)]
Update mini-macro post proc macro stabilization
https://github.com/rust-lang/rust/pull/52081 stabilized proc macros, but
quote is still unstable, so you need to explicitly enable that feature.
Manish Goregaokar [Mon, 16 Jul 2018 22:32:19 +0000 (15:32 -0700)]
Merge pull request #2922 from rust-lang-nursery/rm-clip
Fix travis build by removing cargo-clippy
Manish Goregaokar [Mon, 16 Jul 2018 20:55:32 +0000 (13:55 -0700)]
Fix travis build by removing cargo-clippy
Manish Goregaokar [Mon, 16 Jul 2018 20:39:38 +0000 (13:39 -0700)]
some readme clarifications
Manish Goregaokar [Mon, 16 Jul 2018 20:38:09 +0000 (13:38 -0700)]
Merge pull request #2921 from yaahallo/master
Update readme for new clippy install method
Jane Lusby [Mon, 16 Jul 2018 20:05:02 +0000 (13:05 -0700)]
Update readme for new clippy install method
Oliver Schneider [Mon, 16 Jul 2018 13:43:30 +0000 (15:43 +0200)]
Update test output to changes in rustc
Oliver Schneider [Mon, 16 Jul 2018 13:07:39 +0000 (15:07 +0200)]
Update for hir renamings in rustc
csmoe [Thu, 12 Jul 2018 08:55:41 +0000 (16:55 +0800)]
DeclKind
csmoe [Thu, 12 Jul 2018 08:53:53 +0000 (16:53 +0800)]
StmtKind
csmoe [Thu, 12 Jul 2018 08:03:06 +0000 (16:03 +0800)]
TyKind
csmoe [Thu, 12 Jul 2018 07:50:09 +0000 (15:50 +0800)]
BinOpKind
csmoe [Thu, 12 Jul 2018 07:30:57 +0000 (15:30 +0800)]
ExprKind
Oliver Schneider [Mon, 16 Jul 2018 08:20:29 +0000 (10:20 +0200)]
Merge pull request #2920 from rust-lang-nursery/rustup
Rustup