]>
git.lizzy.rs Git - rust.git/log
Oliver Schneider [Sat, 9 Sep 2017 12:47:40 +0000 (14:47 +0200)]
Merge pull request #2034 from Aaron1011/update-rust
Update for latest Rust
Oliver Schneider [Sat, 9 Sep 2017 12:37:16 +0000 (14:37 +0200)]
Bump version
Oliver Schneider [Sat, 9 Sep 2017 12:06:41 +0000 (14:06 +0200)]
Use hir_id instead of fetching hir_id via the NodeId
Aaron Hill [Sat, 9 Sep 2017 05:23:08 +0000 (01:23 -0400)]
Update for latest Rust
This is mainly due to https://github.com/rust-lang/rust/commit/
dead08cb33134
Oliver Schneider [Fri, 8 Sep 2017 12:26:42 +0000 (14:26 +0200)]
Merge pull request #2029 from rust-lang-nursery/rustup
Soft rustup (only fixed some tests)
Oliver Schneider [Fri, 8 Sep 2017 10:28:31 +0000 (12:28 +0200)]
Soft rustup (only fixed some tests)
Oliver Schneider [Wed, 6 Sep 2017 05:57:57 +0000 (07:57 +0200)]
Merge pull request #1963 from rust-lang-nursery/upstream
Rust needs clippy to have a Cargo.lock
Manish Goregaokar [Tue, 5 Sep 2017 22:10:41 +0000 (15:10 -0700)]
Update changelog
Manish Goregaokar [Tue, 5 Sep 2017 22:09:39 +0000 (15:09 -0700)]
Merge pull request #2004 from sunfishcode/master
When suggesting `from(x)` for lossless casts, strip parens from `x`.
Manish Goregaokar [Tue, 5 Sep 2017 21:19:51 +0000 (14:19 -0700)]
format comment
Manish Goregaokar [Tue, 5 Sep 2017 21:19:00 +0000 (14:19 -0700)]
Merge pull request #2023 from montrivo/while_let_loop
`while_let_loop` doesn't take into account break-with-value #1948
Manish Goregaokar [Tue, 5 Sep 2017 20:30:40 +0000 (13:30 -0700)]
Merge pull request #2022 from rust-lang-nursery/oli-obk-patch-1
Also ignore `continue` statements in `is_unit_expr`
Tim Nielens [Tue, 5 Sep 2017 20:28:30 +0000 (22:28 +0200)]
`while_let_loop` doesn't take into account break-with-value #1948
Oliver Schneider [Tue, 5 Sep 2017 09:25:20 +0000 (11:25 +0200)]
Also ignore `continue` statements in `is_unit_expr`
Manish Goregaokar [Tue, 5 Sep 2017 19:10:53 +0000 (12:10 -0700)]
for loops -> for-loops
Dan Gohman [Tue, 5 Sep 2017 11:05:26 +0000 (04:05 -0700)]
Only strip parens for binary expressions.
Dan Gohman [Wed, 30 Aug 2017 23:45:36 +0000 (16:45 -0700)]
Add a testcase demonstrating how precedence interacts with the lossless-cast lint.
Dan Gohman [Wed, 30 Aug 2017 23:06:21 +0000 (16:06 -0700)]
When suggesting `from(x)` for lossless casts, strip parens from `x`.
Manish Goregaokar [Tue, 5 Sep 2017 16:45:14 +0000 (09:45 -0700)]
Update changelog
Manish Goregaokar [Tue, 5 Sep 2017 16:45:14 +0000 (09:45 -0700)]
Update changelog
Oliver Schneider [Tue, 5 Sep 2017 16:41:27 +0000 (18:41 +0200)]
Merge pull request #2021 from marcusklaas/needless-loop-2
Add lint to detect manual slice copies
Marcus Klaas [Tue, 5 Sep 2017 00:16:34 +0000 (20:16 -0400)]
Add lint to detect manual slice copies
Oliver Schneider [Tue, 5 Sep 2017 10:53:52 +0000 (12:53 +0200)]
Rustfmt for_loop.rs and add false positive tests
Oliver Schneider [Tue, 5 Sep 2017 09:33:04 +0000 (11:33 +0200)]
Run nightly rustfmt
Martin Carton [Mon, 4 Sep 2017 19:29:50 +0000 (21:29 +0200)]
Merge pull request #2020 from 0xbsec/patch-1
Fix "further information" link
M. Hasbini [Mon, 4 Sep 2017 17:03:51 +0000 (20:03 +0300)]
Fix "further information" link
"further information" link was missing the `v` part from the url.
e.g.
wrong (404 notfound): https://rust-lang-nursery.github.io/rust-clippy/0.0.157/index.html#map_entry
correct: https://rust-lang-nursery.github.io/rust-clippy/v0.0.157/index.html#map_entry
Oliver Schneider [Mon, 4 Sep 2017 15:07:19 +0000 (17:07 +0200)]
Version Bump
Oliver Schneider [Mon, 4 Sep 2017 15:05:47 +0000 (17:05 +0200)]
Fix `len_zero` ICE
Oliver Schneider [Mon, 4 Sep 2017 14:10:36 +0000 (16:10 +0200)]
Update to latest nightly
Manish Goregaokar [Sun, 3 Sep 2017 21:58:27 +0000 (14:58 -0700)]
Fix dogfood
Manish Goregaokar [Sun, 3 Sep 2017 21:15:15 +0000 (14:15 -0700)]
Run rustfmt
Manish Goregaokar [Sun, 3 Sep 2017 21:14:07 +0000 (14:14 -0700)]
Fix unit_expr expectations and changelog entry
Manish Goregaokar [Sun, 3 Sep 2017 21:02:16 +0000 (14:02 -0700)]
Merge branch 'pr-2016' into HEAD
Zaki Manian [Sun, 3 Sep 2017 21:01:29 +0000 (14:01 -0700)]
Mention the false positive
Manish Goregaokar [Sun, 3 Sep 2017 20:57:40 +0000 (13:57 -0700)]
Bump to 0.0.156
Manish Goregaokar [Sun, 3 Sep 2017 20:55:45 +0000 (13:55 -0700)]
Rustup to rustc 1.22.0-nightly (
744dd6c1d 2017-09-02) (fixes #2013)
Zaki Manian [Sun, 3 Sep 2017 20:46:49 +0000 (13:46 -0700)]
Rustfmt tests
Zaki Manian [Sun, 3 Sep 2017 20:39:49 +0000 (13:39 -0700)]
Fix all the clippy lints
Add false positive tests
Zaki Manian [Sun, 3 Sep 2017 19:50:02 +0000 (12:50 -0700)]
Remove direct call for Deref
Remove "assigns" from the lint
Zaki Manian [Sun, 3 Sep 2017 18:19:59 +0000 (11:19 -0700)]
RustFmt file and tests
Zaki Manian [Sun, 3 Sep 2017 18:17:20 +0000 (11:17 -0700)]
Don't trigger lint on break or return
Zaki Manian [Sun, 3 Sep 2017 17:39:28 +0000 (10:39 -0700)]
More relevant tests
Zaki Manian [Sun, 3 Sep 2017 16:52:28 +0000 (09:52 -0700)]
Improve the lint message
Zaki Manian [Sun, 3 Sep 2017 16:12:55 +0000 (09:12 -0700)]
Update unit tests
Zaki Manian [Sun, 3 Sep 2017 15:56:34 +0000 (08:56 -0700)]
early tests
Zaki Manian [Sun, 3 Sep 2017 15:31:15 +0000 (08:31 -0700)]
Fix false positives in assignment inside the else condition
Zaki Manian [Sun, 3 Sep 2017 04:33:26 +0000 (21:33 -0700)]
RustFmt changes
Zaki Manian [Sun, 3 Sep 2017 03:45:40 +0000 (20:45 -0700)]
Switch back to manual deref
Zaki Manian [Sun, 3 Sep 2017 03:36:24 +0000 (20:36 -0700)]
Improved spans for lints and support match expressions
Zaki Manian [Sat, 2 Sep 2017 22:04:52 +0000 (15:04 -0700)]
Handle method calls
Zaki Manian [Sat, 2 Sep 2017 21:20:22 +0000 (14:20 -0700)]
Fix brace indentation
Zaki Manian [Sat, 2 Sep 2017 21:19:45 +0000 (14:19 -0700)]
Check method calls
Zaki Manian [Sat, 2 Sep 2017 21:09:41 +0000 (14:09 -0700)]
More initial work
Zaki Manian [Sat, 2 Sep 2017 19:20:43 +0000 (12:20 -0700)]
Introduce check_stmt
Zaki Manian [Sat, 2 Sep 2017 18:29:01 +0000 (11:29 -0700)]
Use the type from the macro
Zaki Manian [Sat, 2 Sep 2017 18:25:33 +0000 (11:25 -0700)]
Initial commit of unit expr
Oliver Schneider [Sat, 2 Sep 2017 05:22:21 +0000 (07:22 +0200)]
Merge pull request #2010 from rust-lang-nursery/doc_improvements
some small doc improvements
Oliver Schneider [Sat, 2 Sep 2017 05:12:25 +0000 (07:12 +0200)]
Merge pull request #2009 from rust-lang-nursery/mcarton-patch-1
Move the number of lints back to the top of README
Andre Bogus [Fri, 1 Sep 2017 20:43:34 +0000 (22:43 +0200)]
some small doc improvements
Martin Carton [Fri, 1 Sep 2017 18:29:36 +0000 (20:29 +0200)]
Move the number of lints back to the top of README
This used to be at the top and was moved at the bottom when the big list of lints started to be so ridiculously long that people had to scroll for 10 minutes to have usage information :smile:
Oliver Schneider [Fri, 1 Sep 2017 16:59:28 +0000 (18:59 +0200)]
Merge pull request #2008 from rust-lang-nursery/oli-obk-patch-1
Remove clippy.bashy.io badge
Oliver Schneider [Fri, 1 Sep 2017 13:14:49 +0000 (15:14 +0200)]
Remove clippy.bashy.io
The service seems to be defunct for a while now
Oliver Schneider [Fri, 1 Sep 2017 13:07:14 +0000 (15:07 +0200)]
Merge pull request #2007 from rust-lang-nursery/wiki
Deprecate the wiki and remove the lint list from the README (fixes #1933)
Oliver Schneider [Fri, 1 Sep 2017 08:36:20 +0000 (10:36 +0200)]
Update README lint counter message
Oliver Schneider [Fri, 1 Sep 2017 08:35:58 +0000 (10:35 +0200)]
Link to current versions docs instead of master docs
Oliver Schneider [Fri, 1 Sep 2017 08:29:49 +0000 (10:29 +0200)]
wiki -> docs
Oliver Schneider [Thu, 31 Aug 2017 13:38:24 +0000 (15:38 +0200)]
Deprecate the wiki and remove the lint list from the README (fixes #1933)
Oliver Schneider [Thu, 31 Aug 2017 13:38:13 +0000 (15:38 +0200)]
Merge pull request #2006 from rust-lang-nursery/rustup
Accessing `Span` internals is deprecated
Oliver Schneider [Thu, 31 Aug 2017 12:58:18 +0000 (14:58 +0200)]
Get rid of another handwritten Span construtor in favour of a builtin function
Oliver Schneider [Thu, 31 Aug 2017 12:47:45 +0000 (14:47 +0200)]
Accessing `Span` internals is deprecated
Oliver Schneider [Wed, 30 Aug 2017 08:54:24 +0000 (10:54 +0200)]
Rustup (fixes #2002)
Oliver Schneider [Tue, 29 Aug 2017 15:08:06 +0000 (17:08 +0200)]
Merge pull request #1999 from sunfishcode/master
Enable the cast_lossless warning by default.
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