]> git.lizzy.rs Git - rust.git/log
rust.git
6 years agoRename `match_path_old` to `match_path`
Alexey Zabelin [Thu, 24 Aug 2017 22:21:46 +0000 (18:21 -0400)]
Rename `match_path_old` to `match_path`

The old `match_path` was renamed to `match_qpath`.

As per #1983.

6 years agoMerge pull request #1959 from DarkEld3r/1884-borrowed-box-any
Oliver Schneider [Thu, 24 Aug 2017 21:59:15 +0000 (23:59 +0200)]
Merge pull request #1959 from DarkEld3r/1884-borrowed-box-any

Fix borrowed_box lint for Box<Any>

6 years agoMerge pull request #1984 from MaloJaffre/fix_int_to_bits
Oliver Schneider [Thu, 24 Aug 2017 07:11:13 +0000 (09:11 +0200)]
Merge pull request #1984 from MaloJaffre/fix_int_to_bits

Fix int_ty_to_nbits

6 years agoMerge pull request #1982 from rust-lang-nursery/bytecount
Oliver Schneider [Thu, 24 Aug 2017 07:09:56 +0000 (09:09 +0200)]
Merge pull request #1982 from rust-lang-nursery/bytecount

new lint: naive_bytecount

6 years agoFix int_ty_to_nbits
Malo Jaffré [Wed, 23 Aug 2017 20:18:04 +0000 (22:18 +0200)]
Fix int_ty_to_nbits

Thanks @oli-obk for the detailed instructions.
Fixes #1957.

6 years agoadd closure arg check, also catch non-consts
Andre Bogus [Wed, 23 Aug 2017 15:54:35 +0000 (17:54 +0200)]
add closure arg check, also catch non-consts

6 years agoMerge pull request #1979 from montrivo/use_self
Oliver Schneider [Wed, 23 Aug 2017 14:40:19 +0000 (16:40 +0200)]
Merge pull request #1979 from montrivo/use_self

lint #1674: lifetimed types exclusion

6 years agoFix 'cyclomatic complexity' warning
Stanislav Tkach [Wed, 23 Aug 2017 14:13:51 +0000 (17:13 +0300)]
Fix 'cyclomatic complexity' warning

6 years agoFix borrowed_box lint for Box<Any>
Stanislav Tkach [Mon, 14 Aug 2017 20:04:56 +0000 (23:04 +0300)]
Fix borrowed_box lint for Box<Any>

6 years agonew lint: naive_bytecount
Andre Bogus [Tue, 22 Aug 2017 21:45:08 +0000 (23:45 +0200)]
new lint: naive_bytecount

6 years agolint #1674: lifetimed types exclusion
Tim Nielens [Tue, 22 Aug 2017 17:22:47 +0000 (19:22 +0200)]
lint #1674: lifetimed types exclusion

add expect() message and update test results

6 years agolint #1674: lifetimed types exclusion
Tim Nielens [Mon, 21 Aug 2017 22:18:37 +0000 (00:18 +0200)]
lint #1674: lifetimed types exclusion

6 years agoMerge pull request #1980 from bjgill/patch-1
Oliver Schneider [Tue, 22 Aug 2017 09:17:48 +0000 (11:17 +0200)]
Merge pull request #1980 from bjgill/patch-1

Changelog entry for `cargo clippy --all`

6 years agoChangelog entry for `cargo clippy --all`
Benjamin Gill [Tue, 22 Aug 2017 08:59:58 +0000 (09:59 +0100)]
Changelog entry for `cargo clippy --all`

Should have added this as part of #1975

6 years agoMerge pull request #1977 from rust-lang-nursery/panic
Oliver Schneider [Tue, 22 Aug 2017 08:20:02 +0000 (10:20 +0200)]
Merge pull request #1977 from rust-lang-nursery/panic

Fix a panic and a false positive

6 years agoMerge pull request #1975 from bjgill/clippy--all
Oliver Schneider [Tue, 22 Aug 2017 08:16:16 +0000 (10:16 +0200)]
Merge pull request #1975 from bjgill/clippy--all

Implement `cargo clippy --all`

6 years agoMerge pull request #1978 from rust-lang-nursery/fix-768
Oliver Schneider [Tue, 22 Aug 2017 08:15:32 +0000 (10:15 +0200)]
Merge pull request #1978 from rust-lang-nursery/fix-768

fix #768 by checking for message macro expansion

6 years agoRemove surplus clippy invocation in travis
Benjamin Gill [Tue, 22 Aug 2017 01:15:45 +0000 (02:15 +0100)]
Remove surplus clippy invocation in travis

6 years agoMerge remote-tracking branch 'upstream/master' into clippy--all
Benjamin Gill [Tue, 22 Aug 2017 01:11:32 +0000 (02:11 +0100)]
Merge remote-tracking branch 'upstream/master' into clippy--all

6 years agofix #768 by checking for message macro expansion
Andre Bogus [Mon, 21 Aug 2017 21:23:54 +0000 (23:23 +0200)]
fix #768 by checking for message macro expansion

6 years agoMerge pull request #1973 from rust-lang-nursery/fix-1920
Oliver Schneider [Mon, 21 Aug 2017 11:52:26 +0000 (13:52 +0200)]
Merge pull request #1973 from rust-lang-nursery/fix-1920

remove stars at the beginning of multiline comments

6 years agoRun Dogfood for `use_self`
Oliver Schneider [Mon, 21 Aug 2017 11:32:12 +0000 (13:32 +0200)]
Run Dogfood for `use_self`

6 years agoDon't trigger `Self` suggestion inside derives
Oliver Schneider [Mon, 21 Aug 2017 10:58:06 +0000 (12:58 +0200)]
Don't trigger `Self` suggestion inside derives

6 years agoFix ICE #1969
Oliver Schneider [Mon, 21 Aug 2017 10:57:33 +0000 (12:57 +0200)]
Fix ICE #1969

6 years agoTest changes
Oliver Schneider [Mon, 21 Aug 2017 08:26:46 +0000 (10:26 +0200)]
Test changes

6 years agoVersion bump
Oliver Schneider [Mon, 21 Aug 2017 07:44:53 +0000 (09:44 +0200)]
Version bump

6 years agoMerge pull request #1971 from Frederick888/fix-1970
Oliver Schneider [Mon, 21 Aug 2017 07:35:59 +0000 (09:35 +0200)]
Merge pull request #1971 from Frederick888/fix-1970

Try to fix #1970

6 years agoMerge pull request #1931 from rust-lang-nursery/move_links
Oliver Schneider [Mon, 21 Aug 2017 07:35:19 +0000 (09:35 +0200)]
Merge pull request #1931 from rust-lang-nursery/move_links

Change all links to reflect the move to rust-lang-nursery

6 years agoAdd help text for `--all`
Benjamin Gill [Sun, 20 Aug 2017 04:10:13 +0000 (05:10 +0100)]
Add help text for `--all`

6 years agoAdd travis testing of `--all`
Benjamin Gill [Fri, 18 Aug 2017 17:31:51 +0000 (18:31 +0100)]
Add travis testing of `--all`

6 years agoRun Rustfmt-nightly
Benjamin Gill [Fri, 18 Aug 2017 17:11:15 +0000 (18:11 +0100)]
Run Rustfmt-nightly

6 years agoBasic implementation of `cargo clippy --all`
Benjamin Gill [Fri, 18 Aug 2017 16:57:33 +0000 (17:57 +0100)]
Basic implementation of `cargo clippy --all`

This implements workspace support for `cargo clippy` by running clippy
over all packages in the workspace (in serial).

This should probably be parallelised in future (as `cargo build --all`).

6 years agoremove stars at the beginning of multiline comments
Andre Bogus [Sat, 19 Aug 2017 20:52:49 +0000 (22:52 +0200)]
remove stars at the beginning of multiline comments

6 years agouse CompilerDesugaringKind
Frederick Zhang [Sat, 19 Aug 2017 08:03:29 +0000 (18:03 +1000)]
use CompilerDesugaringKind

6 years agoMerge pull request #1965 from montrivo/use_self
Oliver Schneider [Fri, 18 Aug 2017 18:54:18 +0000 (20:54 +0200)]
Merge pull request #1965 from montrivo/use_self

lint #1674: replace struct name with `Self` when applicable

6 years agolint #1674: replace struct name with `Self` when applicable
Tim Nielens [Fri, 18 Aug 2017 17:42:26 +0000 (19:42 +0200)]
lint #1674: replace struct name with `Self` when applicable

SelfType const and suggestion

6 years agoMerge pull request #1967 from koivunej/issue-1964
Oliver Schneider [Fri, 18 Aug 2017 15:01:48 +0000 (17:01 +0200)]
Merge pull request #1967 from koivunej/issue-1964

Fix let_unit_value with for loop iterating over units

6 years agotests/ui/let_unit: fix comment and example code
Joonas Koivunen [Fri, 18 Aug 2017 14:29:05 +0000 (17:29 +0300)]
tests/ui/let_unit: fix comment and example code

The previous version would had deadlocked as the Sender remained alive
and iterator would had never became complete. Just in case someone
decided to run it.

6 years agois_from_for_loop: document what first check matches
Joonas Koivunen [Fri, 18 Aug 2017 14:12:00 +0000 (17:12 +0300)]
is_from_for_loop: document what first check matches

Removing the first check will break a lot of for-loop UI tests and the
dogfood test.

6 years agois_from_for_desugar: add match for `for _ in x`
Joonas Koivunen [Fri, 18 Aug 2017 14:07:39 +0000 (17:07 +0300)]
is_from_for_desugar: add match for `for _ in x`

This will avoid `let_unit_value` in the examples in the ui-test.
It might match too widely.

6 years agolint #1674: replace struct name with `Self` when applicable
Tim Nielens [Fri, 28 Jul 2017 11:28:07 +0000 (13:28 +0200)]
lint #1674: replace struct name with `Self` when applicable

6 years agoBump the version
Oliver Schneider [Tue, 15 Aug 2017 09:11:20 +0000 (11:11 +0200)]
Bump the version

6 years agoRustup
Oliver Schneider [Tue, 15 Aug 2017 09:10:49 +0000 (11:10 +0200)]
Rustup

6 years agoMerge pull request #1953 from mati865/master
Oliver Schneider [Mon, 14 Aug 2017 15:12:05 +0000 (17:12 +0200)]
Merge pull request #1953 from mati865/master

Fix verbose_bit_mask off by one error

6 years agoFix verbose_bit_mask off by one error
Mateusz Mikula [Sun, 13 Aug 2017 13:13:13 +0000 (15:13 +0200)]
Fix verbose_bit_mask off by one error

Fixes #1940

6 years agoMerge branch 'master' into move_links
Oliver Schneider [Mon, 14 Aug 2017 08:07:26 +0000 (10:07 +0200)]
Merge branch 'master' into move_links

6 years agoUpdate for rustc output changes
Oliver Schneider [Mon, 14 Aug 2017 07:51:16 +0000 (09:51 +0200)]
Update for rustc output changes

6 years agoBump the version
Oliver Schneider [Sun, 13 Aug 2017 18:57:55 +0000 (20:57 +0200)]
Bump the version

6 years agoRustup
Oliver Schneider [Fri, 11 Aug 2017 12:11:46 +0000 (14:11 +0200)]
Rustup

6 years agoHandfix dogfood issues with the rustfmt changes
Oliver Schneider [Wed, 9 Aug 2017 07:59:38 +0000 (09:59 +0200)]
Handfix dogfood issues with the rustfmt changes

6 years agoRustfmt
Oliver Schneider [Wed, 9 Aug 2017 07:30:56 +0000 (09:30 +0200)]
Rustfmt

6 years agoBump the version
Oliver Schneider [Wed, 9 Aug 2017 06:57:31 +0000 (08:57 +0200)]
Bump the version

6 years agoMerge pull request #1951 from rust-lang-nursery/doc_improvements
Oliver Schneider [Sun, 13 Aug 2017 19:02:10 +0000 (21:02 +0200)]
Merge pull request #1951 from rust-lang-nursery/doc_improvements

some small doc improvements

6 years agosome small doc improvements
Andre Bogus [Sat, 12 Aug 2017 22:14:28 +0000 (00:14 +0200)]
some small doc improvements

6 years agoMerge pull request #1942 from Frederick888/fix-1941
llogiq [Wed, 9 Aug 2017 05:16:52 +0000 (07:16 +0200)]
Merge pull request #1942 from Frederick888/fix-1941

Try to fix #1941

6 years agofix usage of for_each_relevant_impl
Frederick Zhang [Wed, 9 Aug 2017 03:21:33 +0000 (13:21 +1000)]
fix usage of for_each_relevant_impl

6 years agoMerge pull request #1935 from rust-lang-nursery/oli-obk-patch-2
Martin Carton [Mon, 7 Aug 2017 17:56:52 +0000 (19:56 +0200)]
Merge pull request #1935 from rust-lang-nursery/oli-obk-patch-2

Don't cache builds on travis

6 years agoMerge pull request #1936 from rust-lang-nursery/oli-obk-patch-3
Martin Carton [Mon, 7 Aug 2017 17:54:04 +0000 (19:54 +0200)]
Merge pull request #1936 from rust-lang-nursery/oli-obk-patch-3

Update CONTRIBUTING.md

6 years agoUpdate CONTRIBUTING.md
Oliver Schneider [Mon, 7 Aug 2017 15:33:27 +0000 (17:33 +0200)]
Update CONTRIBUTING.md

6 years agoMerge pull request #1934 from killercup/feature/docs-version-ordering
Oliver Schneider [Mon, 7 Aug 2017 11:38:38 +0000 (13:38 +0200)]
Merge pull request #1934 from killercup/feature/docs-version-ordering

Docs index: Sort versions in a nice way

6 years agoDon't cache builds on travis
Oliver Schneider [Mon, 7 Aug 2017 11:34:36 +0000 (13:34 +0200)]
Don't cache builds on travis

6 years agoDocs index: Sort versions in a nice way
Pascal Hertleif [Mon, 7 Aug 2017 10:57:17 +0000 (12:57 +0200)]
Docs index: Sort versions in a nice way

This introduces a very sophisticated algorithm to determine the ordering
of versions on the rendered docs' start page.

(Spoiler alert: It maps "master" and "current" to the largest possible
float values and converts a version like "1.2.3" to "1002003".)

6 years agoMerge pull request #1923 from killercup/feature/1917-docs-versions-index
Oliver Schneider [Mon, 7 Aug 2017 06:39:43 +0000 (08:39 +0200)]
Merge pull request #1923 from killercup/feature/1917-docs-versions-index

Generate version index for docs domain index

6 years agoChange all links to reflect the move to rust-lang-nursery
Andre Bogus [Sun, 6 Aug 2017 11:10:21 +0000 (13:10 +0200)]
Change all links to reflect the move to rust-lang-nursery

6 years agoBump the version
Andre Bogus [Sun, 6 Aug 2017 20:50:19 +0000 (22:50 +0200)]
Bump the version

6 years agofixing dogfood
Andre Bogus [Sun, 6 Aug 2017 09:09:53 +0000 (11:09 +0200)]
fixing dogfood

6 years agoMerge pull request #1929 from Frederick888/fix-1928
llogiq [Sun, 6 Aug 2017 06:57:32 +0000 (08:57 +0200)]
Merge pull request #1929 from Frederick888/fix-1928

Try to fix #1928

6 years agofix ConstFloat usage
Frederick Zhang [Sun, 6 Aug 2017 05:06:21 +0000 (15:06 +1000)]
fix ConstFloat usage

6 years agoMerge pull request #1913 from rust-lang-nursery/while_let_loop
Oliver Schneider [Fri, 4 Aug 2017 08:16:52 +0000 (10:16 +0200)]
Merge pull request #1913 from rust-lang-nursery/while_let_loop

Find binding or assignment within outer loop

6 years agounify checks into single visitor, fix block walk
Andre Bogus [Wed, 2 Aug 2017 22:41:46 +0000 (00:41 +0200)]
unify checks into single visitor, fix block walk

6 years agoWIP: Find binding or assignment within outer loop
Andre Bogus [Mon, 31 Jul 2017 22:58:26 +0000 (00:58 +0200)]
WIP: Find binding or assignment within outer loop

6 years agoGenerate version index for docs domain index
Pascal Hertleif [Thu, 3 Aug 2017 19:17:12 +0000 (21:17 +0200)]
Generate version index for docs domain index

Uses basically the same code as the lint docs page as I didn't want to
reinvent anything: A simple python script (inline in deploy script)
writes an array of versions to a JSON file, which gets turned into a
list of links using a bit of angular.js code.

Fixes #1917

6 years agoUpdate URL in rendered docs Github ribbon
Pascal Hertleif [Thu, 3 Aug 2017 19:17:44 +0000 (21:17 +0200)]
Update URL in rendered docs Github ribbon

[ci skip]

6 years agoMerge pull request #1922 from rust-lang-nursery/compiletest_update
Martin Carton [Wed, 2 Aug 2017 17:51:59 +0000 (19:51 +0200)]
Merge pull request #1922 from rust-lang-nursery/compiletest_update

Update to latest compiletest version

6 years agoUpdate to latest compiletest version
Oliver Schneider [Wed, 2 Aug 2017 16:07:05 +0000 (18:07 +0200)]
Update to latest compiletest version

6 years agoMerge pull request #1919 from rust-lang-nursery/ui
Oliver Schneider [Wed, 2 Aug 2017 16:03:35 +0000 (18:03 +0200)]
Merge pull request #1919 from rust-lang-nursery/ui

Move all our tests back to ui tests

6 years agoRemove all references to `clippy_tests`
Oliver Schneider [Wed, 2 Aug 2017 15:24:07 +0000 (17:24 +0200)]
Remove all references to `clippy_tests`

6 years agoRevert "Update contribution instructions to the new system"
Oliver Schneider [Wed, 2 Aug 2017 10:46:06 +0000 (12:46 +0200)]
Revert "Update contribution instructions to the new system"

This reverts commit 5ed2066dca61312e558e36c86a832d6e3c383ce7.

6 years agoMove all our tests back to ui tests
Oliver Schneider [Tue, 1 Aug 2017 15:54:21 +0000 (17:54 +0200)]
Move all our tests back to ui tests

6 years agoMerge pull request #1869 from rust-lang-nursery/new_lint
Oliver Schneider [Tue, 1 Aug 2017 14:05:11 +0000 (16:05 +0200)]
Merge pull request #1869 from rust-lang-nursery/new_lint

Lint authoring tool

6 years agoProduce backtrace on travis
Oliver Schneider [Tue, 1 Aug 2017 13:19:12 +0000 (15:19 +0200)]
Produce backtrace on travis

6 years agoUpdate to latest rustc diagnostic output
Oliver Schneider [Tue, 1 Aug 2017 11:11:48 +0000 (13:11 +0200)]
Update to latest rustc diagnostic output

6 years agoFix some more dogfood issues
Oliver Schneider [Tue, 1 Aug 2017 11:05:57 +0000 (13:05 +0200)]
Fix some more dogfood issues

6 years agoThe lint doesn't improve perf (yet)
Oliver Schneider [Mon, 10 Jul 2017 07:50:36 +0000 (09:50 +0200)]
The lint doesn't improve perf (yet)

6 years agoUse the authoring tool to create a new lint
Oliver Schneider [Mon, 3 Jul 2017 14:07:04 +0000 (16:07 +0200)]
Use the authoring tool to create a new lint

6 years agoCreate a lint authoring helper (generates matching code)
Oliver Schneider [Mon, 3 Jul 2017 13:24:52 +0000 (15:24 +0200)]
Create a lint authoring helper (generates matching code)

6 years agoFix the config regex for the wiki generator
Oliver Schneider [Tue, 1 Aug 2017 08:33:16 +0000 (10:33 +0200)]
Fix the config regex for the wiki generator

6 years agoRun rustfmt
Oliver Schneider [Tue, 1 Aug 2017 08:19:49 +0000 (10:19 +0200)]
Run rustfmt

6 years agoBump the version
Oliver Schneider [Tue, 1 Aug 2017 08:19:18 +0000 (10:19 +0200)]
Bump the version

6 years agoupdate_lints.sh has a different opinion on ordering things
Oliver Schneider [Tue, 1 Aug 2017 08:18:56 +0000 (10:18 +0200)]
update_lints.sh has a different opinion on ordering things

6 years agoMerge pull request #1900 from jayhardee9/luckily_literals_love_lints
Oliver Schneider [Tue, 1 Aug 2017 08:15:29 +0000 (10:15 +0200)]
Merge pull request #1900 from jayhardee9/luckily_literals_love_lints

Add lints for digit grouping.

6 years agoMore autoclippyification
Oliver Schneider [Tue, 1 Aug 2017 07:55:17 +0000 (09:55 +0200)]
More autoclippyification

6 years agoClippy fixes itself
Oliver Schneider [Tue, 1 Aug 2017 07:45:36 +0000 (09:45 +0200)]
Clippy fixes itself

6 years agoMerge pull request #1915 from Frederick888/fix-1914
Oliver Schneider [Tue, 1 Aug 2017 07:35:59 +0000 (09:35 +0200)]
Merge pull request #1915 from Frederick888/fix-1914

Try to fix #1914

6 years agouse BindingAnnotation instead of BindingMode
Frederick Zhang [Tue, 1 Aug 2017 07:11:05 +0000 (17:11 +1000)]
use BindingAnnotation instead of BindingMode

6 years agoFix hints from misc_early
Jay Hardee [Tue, 1 Aug 2017 00:20:27 +0000 (20:20 -0400)]
Fix hints from misc_early

6 years agoUpdate stderr files.
Jay Hardee [Tue, 1 Aug 2017 00:02:53 +0000 (20:02 -0400)]
Update stderr files.

6 years agoMerge remote-tracking branch 'upstream/master' into luckily_literals_love_lints
Jay Hardee [Mon, 31 Jul 2017 23:17:42 +0000 (19:17 -0400)]
Merge remote-tracking branch 'upstream/master' into luckily_literals_love_lints

6 years agoLoose ends and factor out consistency logic.
Jay Hardee [Sun, 30 Jul 2017 22:54:56 +0000 (18:54 -0400)]
Loose ends and factor out consistency logic.

6 years agoUse DigitInfo instead of get_digits().
Jay Hardee [Sun, 30 Jul 2017 22:51:01 +0000 (18:51 -0400)]
Use DigitInfo instead of get_digits().