]>
git.lizzy.rs Git - rust.git/log
Dan Gohman [Tue, 29 Aug 2017 12:48:19 +0000 (05:48 -0700)]
Enable the cast_lossless warning by default.
Oliver Schneider [Tue, 29 Aug 2017 06:50:36 +0000 (08:50 +0200)]
Merge pull request #1956 from sunfishcode/master
Add a lint for lossless casts.
Oliver Schneider [Tue, 29 Aug 2017 06:49:16 +0000 (08:49 +0200)]
Merge pull request #1998 from montrivo/bug/is_empty-false-positive
len_without_is_empty false positive #1740
Tim Nielens [Mon, 28 Aug 2017 21:13:56 +0000 (23:13 +0200)]
len_without_is_empty false positive #1740
Oliver Schneider [Mon, 28 Aug 2017 16:16:16 +0000 (18:16 +0200)]
Update tests to current rustc
Dan Gohman [Sun, 13 Aug 2017 21:58:17 +0000 (14:58 -0700)]
Add a lint for lossless casts.
Oliver Schneider [Mon, 28 Aug 2017 12:34:30 +0000 (14:34 +0200)]
Merge pull request #1861 from CBenoit/master
Add example for needless borrowed ref lint and register it
Oliver Schneider [Sun, 27 Aug 2017 10:44:45 +0000 (12:44 +0200)]
Merge pull request #1986 from koivunej/manualtesting-help
CONTRIBUTING: add manual testing section
Oliver Schneider [Sun, 27 Aug 2017 10:44:14 +0000 (12:44 +0200)]
Merge pull request #1994 from ishitatsuyuki/lint-cleanup
Lint cleanup
Tatsuyuki Ishi [Sun, 27 Aug 2017 07:04:20 +0000 (16:04 +0900)]
Remove unused extern crates
Tatsuyuki Ishi [Sun, 27 Aug 2017 07:02:05 +0000 (16:02 +0900)]
Reorder allow attributes to suppress unknown lint warning
Oliver Schneider [Sat, 26 Aug 2017 21:06:00 +0000 (23:06 +0200)]
Merge pull request #1992 from rust-lang-nursery/infinite_iter
New lint: (maybe_)infinite_iter
Andre Bogus [Sat, 26 Aug 2017 16:46:42 +0000 (18:46 +0200)]
rename TriState -> Finiteness, docs
Andre Bogus [Fri, 25 Aug 2017 22:09:31 +0000 (00:09 +0200)]
fix match_path -> match_qpath rename
Andre Bogus [Fri, 25 Aug 2017 20:20:52 +0000 (22:20 +0200)]
New lint: (maybe_)infinite_iter
This fixes #1870 (mostly, does not account for loops yet)
Martin Carton [Fri, 25 Aug 2017 10:39:53 +0000 (12:39 +0200)]
Merge pull request #1989 from Frederick888/fix-1988
Try to fix #1988
mcarton [Fri, 25 Aug 2017 10:01:57 +0000 (12:01 +0200)]
Bump the version to 0.0.154
Martin Carton [Fri, 25 Aug 2017 09:42:20 +0000 (11:42 +0200)]
Merge pull request #1987 from alexeyzab/rename-match-path-old
Rename `match_path_old` to `match_path`
Frederick Zhang [Fri, 25 Aug 2017 07:30:21 +0000 (17:30 +1000)]
fix PathParameters usage
Alexey Zabelin [Fri, 25 Aug 2017 00:46:40 +0000 (20:46 -0400)]
Incorporate upstream changes
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.
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>
Joonas Koivunen [Thu, 24 Aug 2017 15:17:35 +0000 (18:17 +0300)]
CONTRIBUTING: add manual testing section
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
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
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.
Andre Bogus [Wed, 23 Aug 2017 15:54:35 +0000 (17:54 +0200)]
add closure arg check, also catch non-consts
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
Stanislav Tkach [Wed, 23 Aug 2017 14:13:51 +0000 (17:13 +0300)]
Fix 'cyclomatic complexity' warning
Stanislav Tkach [Mon, 14 Aug 2017 20:04:56 +0000 (23:04 +0300)]
Fix borrowed_box lint for Box<Any>
Andre Bogus [Tue, 22 Aug 2017 21:45:08 +0000 (23:45 +0200)]
new lint: naive_bytecount
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
Tim Nielens [Mon, 21 Aug 2017 22:18:37 +0000 (00:18 +0200)]
lint #1674: lifetimed types exclusion
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`
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
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
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`
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
Benjamin Gill [Tue, 22 Aug 2017 01:15:45 +0000 (02:15 +0100)]
Remove surplus clippy invocation in travis
Benjamin Gill [Tue, 22 Aug 2017 01:11:32 +0000 (02:11 +0100)]
Merge remote-tracking branch 'upstream/master' into clippy--all
Andre Bogus [Mon, 21 Aug 2017 21:23:54 +0000 (23:23 +0200)]
fix #768 by checking for message macro expansion
Oliver Schneider [Mon, 21 Aug 2017 12:22:41 +0000 (14:22 +0200)]
Rebase and update ui test
Benoît CORTIER [Sat, 1 Jul 2017 16:51:20 +0000 (18:51 +0200)]
Finalize needless_borrowed_ref lint doc.
Make sure the needless_borrowed_ref.stderr in examples is up to date
too.
Benoît CORTIER [Sat, 1 Jul 2017 14:56:19 +0000 (16:56 +0200)]
Improve needless_borrowed_ref lint: remove the hand rolled span part.
Benoît CORTIER [Sat, 1 Jul 2017 10:02:00 +0000 (12:02 +0200)]
Improve needless_borrowed_ref and update its stderr.
Benoît CORTIER [Sat, 1 Jul 2017 10:01:39 +0000 (12:01 +0200)]
Improve needless_borrowed_ref and add suggestion to it.
Benoît CORTIER [Fri, 30 Jun 2017 14:07:29 +0000 (16:07 +0200)]
Update needless_borrowed_ref lint example.
Benoît CORTIER [Thu, 29 Jun 2017 11:46:07 +0000 (13:46 +0200)]
Add needless_borrowed_ref example.
Benoît CORTIER [Thu, 29 Jun 2017 11:45:54 +0000 (13:45 +0200)]
Improve needless_borrowed_ref lint comments.
Benoît CORTIER [Thu, 29 Jun 2017 11:45:35 +0000 (13:45 +0200)]
Now register needless borrowed ref.
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
Oliver Schneider [Mon, 21 Aug 2017 11:32:12 +0000 (13:32 +0200)]
Run Dogfood for `use_self`
Oliver Schneider [Mon, 21 Aug 2017 10:58:06 +0000 (12:58 +0200)]
Don't trigger `Self` suggestion inside derives
Oliver Schneider [Mon, 21 Aug 2017 10:57:33 +0000 (12:57 +0200)]
Fix ICE #1969
Oliver Schneider [Mon, 21 Aug 2017 08:26:46 +0000 (10:26 +0200)]
Test changes
Oliver Schneider [Mon, 21 Aug 2017 07:44:53 +0000 (09:44 +0200)]
Version bump
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
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
Benjamin Gill [Sun, 20 Aug 2017 04:10:13 +0000 (05:10 +0100)]
Add help text for `--all`
Benjamin Gill [Fri, 18 Aug 2017 17:31:51 +0000 (18:31 +0100)]
Add travis testing of `--all`
Benjamin Gill [Fri, 18 Aug 2017 17:11:15 +0000 (18:11 +0100)]
Run Rustfmt-nightly
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`).
Andre Bogus [Sat, 19 Aug 2017 20:52:49 +0000 (22:52 +0200)]
remove stars at the beginning of multiline comments
Frederick Zhang [Sat, 19 Aug 2017 08:03:29 +0000 (18:03 +1000)]
use CompilerDesugaringKind
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
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
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
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.
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.
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.
Tim Nielens [Fri, 28 Jul 2017 11:28:07 +0000 (13:28 +0200)]
lint #1674: replace struct name with `Self` when applicable
Oliver Schneider [Tue, 15 Aug 2017 09:11:20 +0000 (11:11 +0200)]
Bump the version
Oliver Schneider [Tue, 15 Aug 2017 09:10:49 +0000 (11:10 +0200)]
Rustup
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
Mateusz Mikula [Sun, 13 Aug 2017 13:13:13 +0000 (15:13 +0200)]
Fix verbose_bit_mask off by one error
Fixes #1940
Oliver Schneider [Mon, 14 Aug 2017 08:07:26 +0000 (10:07 +0200)]
Merge branch 'master' into move_links
Oliver Schneider [Mon, 14 Aug 2017 07:51:16 +0000 (09:51 +0200)]
Update for rustc output changes
Oliver Schneider [Sun, 13 Aug 2017 18:57:55 +0000 (20:57 +0200)]
Bump the version
Oliver Schneider [Fri, 11 Aug 2017 12:11:46 +0000 (14:11 +0200)]
Rustup
Oliver Schneider [Wed, 9 Aug 2017 07:59:38 +0000 (09:59 +0200)]
Handfix dogfood issues with the rustfmt changes
Oliver Schneider [Wed, 9 Aug 2017 07:30:56 +0000 (09:30 +0200)]
Rustfmt
Oliver Schneider [Wed, 9 Aug 2017 06:57:31 +0000 (08:57 +0200)]
Bump the version
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
Andre Bogus [Sat, 12 Aug 2017 22:14:28 +0000 (00:14 +0200)]
some small doc improvements
llogiq [Wed, 9 Aug 2017 05:16:52 +0000 (07:16 +0200)]
Merge pull request #1942 from Frederick888/fix-1941
Try to fix #1941
Frederick Zhang [Wed, 9 Aug 2017 03:21:33 +0000 (13:21 +1000)]
fix usage of for_each_relevant_impl
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
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
Oliver Schneider [Mon, 7 Aug 2017 15:33:27 +0000 (17:33 +0200)]
Update CONTRIBUTING.md
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
Oliver Schneider [Mon, 7 Aug 2017 11:34:36 +0000 (13:34 +0200)]
Don't cache builds on travis
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 ".)
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
Andre Bogus [Sun, 6 Aug 2017 11:10:21 +0000 (13:10 +0200)]
Change all links to reflect the move to rust-lang-nursery
Andre Bogus [Sun, 6 Aug 2017 20:50:19 +0000 (22:50 +0200)]
Bump the version
Andre Bogus [Sun, 6 Aug 2017 09:09:53 +0000 (11:09 +0200)]
fixing dogfood
llogiq [Sun, 6 Aug 2017 06:57:32 +0000 (08:57 +0200)]
Merge pull request #1929 from Frederick888/fix-1928
Try to fix #1928
Frederick Zhang [Sun, 6 Aug 2017 05:06:21 +0000 (15:06 +1000)]
fix ConstFloat usage
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
Andre Bogus [Wed, 2 Aug 2017 22:41:46 +0000 (00:41 +0200)]
unify checks into single visitor, fix block walk