]>
git.lizzy.rs Git - rust.git/log
Manish Goregaokar [Thu, 13 Jul 2017 21:10:30 +0000 (14:10 -0700)]
Create LICENSE
Oliver Schneider [Mon, 10 Jul 2017 08:21:21 +0000 (10:21 +0200)]
Run rustfmt
Oliver Schneider [Mon, 10 Jul 2017 08:20:49 +0000 (10:20 +0200)]
Bump the version
Oliver Schneider [Mon, 10 Jul 2017 08:17:40 +0000 (10:17 +0200)]
Rustup to *rustc 1.20.0-nightly (
d84693b93 2017-07-09)*
Oliver Schneider [Wed, 5 Jul 2017 10:29:43 +0000 (12:29 +0200)]
Merge pull request #1871 from uHOOCCOOHu/never_loop_fix
Fix the bug remaining in #1586.
Oliver Schneider [Wed, 5 Jul 2017 10:28:09 +0000 (12:28 +0200)]
Merge pull request #1873 from uHOOCCOOHu/fix-tests
Fix tests.
uHOOCCOOHu [Wed, 5 Jul 2017 01:56:05 +0000 (09:56 +0800)]
Add more test for #1586.
uHOOCCOOHu [Wed, 5 Jul 2017 01:55:37 +0000 (09:55 +0800)]
Search `continue` in `return` expr.
uHOOCCOOHu [Wed, 5 Jul 2017 06:51:33 +0000 (14:51 +0800)]
Put tests for `step_by(0)` back.
uHOOCCOOHu [Wed, 5 Jul 2017 06:14:24 +0000 (14:14 +0800)]
Remove tests using removed feature `step_by`.
Update test outputs.
Oliver Schneider [Tue, 4 Jul 2017 17:32:09 +0000 (19:32 +0200)]
Merge pull request #1860 from Vurich/master
Allow cargo-clippy to work in subdirectories
Oliver Schneider [Tue, 4 Jul 2017 14:07:33 +0000 (16:07 +0200)]
ignore needless_lifetimes false positive
Oliver Schneider [Tue, 4 Jul 2017 14:05:24 +0000 (16:05 +0200)]
Merge pull request #1847 from Manishearth/nested_while_let
don't lint while_let_on_iterator on nested loops
Oliver Schneider [Mon, 3 Jul 2017 07:29:54 +0000 (09:29 +0200)]
Merge pull request #1852 from Manishearth/notrans
Use `--emit=metadata` instead of `-Zno-trans`
Oliver Schneider [Mon, 3 Jul 2017 07:23:30 +0000 (09:23 +0200)]
Bump the version
Oliver Schneider [Mon, 3 Jul 2017 07:22:12 +0000 (09:22 +0200)]
Merge pull request #1868 from messense/feature/fix-nightly-07-02
Fix compilation on rustc 1.20.0-nightly (
067971139 2017-07-02)
messense [Mon, 3 Jul 2017 06:53:52 +0000 (14:53 +0800)]
Update windows ui tests
messense [Mon, 3 Jul 2017 04:37:30 +0000 (12:37 +0800)]
Update ui tests for examples
messense [Mon, 3 Jul 2017 04:37:14 +0000 (12:37 +0800)]
Update ui tests
messense [Mon, 3 Jul 2017 04:26:03 +0000 (12:26 +0800)]
Fix compilation on rustc 1.20.0-nightly (
067971139 2017-07-02)
Oliver Schneider [Sat, 1 Jul 2017 15:28:11 +0000 (17:28 +0200)]
Merge pull request #1866 from Manishearth/oli-obk-patch-2
Update compiletest dependency
Oliver Schneider [Sat, 1 Jul 2017 14:22:09 +0000 (16:22 +0200)]
Update compiletest dependency
Andre Bogus [Fri, 30 Jun 2017 00:43:52 +0000 (02:43 +0200)]
fix tests
Oliver Schneider [Thu, 29 Jun 2017 14:54:04 +0000 (16:54 +0200)]
Merge pull request #1862 from messense/feature/fix-nightly-06-28
Fix compilation on rustc 1.20.0-nightly (
69c65d296 2017-06-28)
Oliver Schneider [Thu, 29 Jun 2017 14:07:43 +0000 (16:07 +0200)]
Run rustfmt
Oliver Schneider [Thu, 29 Jun 2017 14:04:53 +0000 (16:04 +0200)]
Bump the version
messense [Thu, 29 Jun 2017 13:38:25 +0000 (21:38 +0800)]
Fix compilation on rustc 1.20.0-nightly (
69c65d296 2017-06-28)
Vurich [Thu, 29 Jun 2017 10:57:28 +0000 (12:57 +0200)]
Allow cargo-clippy to work in subdirectories
Oliver Schneider [Wed, 28 Jun 2017 16:45:51 +0000 (18:45 +0200)]
Merge pull request #1536 from CBenoit/master
Add lint `&ref x` patterns that could be just `x`
Oliver Schneider [Wed, 28 Jun 2017 10:41:40 +0000 (12:41 +0200)]
Merge pull request #1855 from Manishearth/for_loop
Fix for loop detection
Oliver Schneider [Wed, 28 Jun 2017 09:02:27 +0000 (11:02 +0200)]
Update for latest master
Oliver Schneider [Mon, 26 Jun 2017 12:49:30 +0000 (14:49 +0200)]
Use `--emit=metadata` instead of `-Zno-trans`
fixes #1500
Benoît CORTIER [Mon, 26 Jun 2017 12:42:24 +0000 (14:42 +0200)]
Improve needless_borrowed_ref lint doc.
Benoît CORTIER [Sat, 24 Jun 2017 10:04:56 +0000 (12:04 +0200)]
Add needless borrowed ref lint (WIP).
Andre Bogus [Fri, 23 Jun 2017 16:29:18 +0000 (18:29 +0200)]
don't lint while_let_on_iterator on nested loops
The problem is with a nested loop, the iterator may well be reused. This
changeset introduces a false negative, when the iterator is initialized
within the outer loop. A further PR could get rid of this false negative
by checking if the iterator is indeed initialized within the outer loop.
Martin Carton [Thu, 22 Jun 2017 08:39:48 +0000 (10:39 +0200)]
Merge pull request #1841 from sanxiyn/span-lint-and-sugg
Use span_lint_and_sugg
Seo Sanghyeon [Wed, 21 Jun 2017 18:04:04 +0000 (03:04 +0900)]
Use span_lint_and_sugg
llogiq [Mon, 19 Jun 2017 21:19:51 +0000 (23:19 +0200)]
Merge pull request #1839 from Manishearth/rustup-tests
Fix the test suite after cargo update
mcarton [Mon, 19 Jun 2017 20:11:12 +0000 (22:11 +0200)]
Fix the test suite after cargo update
Martin Carton [Sun, 18 Jun 2017 15:09:14 +0000 (17:09 +0200)]
Merge pull request #1837 from Manishearth/step_by
Replace `Range::step_by` checking with `Iterator::step_by`
Oliver Schneider [Sun, 18 Jun 2017 13:14:46 +0000 (15:14 +0200)]
Replace `Range::step_by` checking with `Iterator::step_by`
Martin Carton [Sat, 17 Jun 2017 17:24:33 +0000 (19:24 +0200)]
Merge pull request #1799 from Manishearth/docs
Rewrite `doc_markdown` to use `pulldown-cmark`
mcarton [Sat, 17 Jun 2017 16:27:28 +0000 (18:27 +0200)]
Fix links in change log
mcarton [Sat, 10 Jun 2017 17:31:34 +0000 (19:31 +0200)]
Don't depend explicitly on `pulldown-cmark`
Use the one from `rustc`'s, which avoids "multiple matching crate"
errors.
mcarton [Thu, 1 Jun 2017 21:11:31 +0000 (23:11 +0200)]
Don't use default features for `pulldown-cmark`
mcarton [Tue, 30 May 2017 17:50:07 +0000 (19:50 +0200)]
Ignore mix of {,non-}sugared doc in `doc_markdown`
mcarton [Tue, 30 May 2017 17:49:09 +0000 (19:49 +0200)]
Add a new `doc_markdown` test from issue comments
mcarton [Tue, 30 May 2017 17:31:42 +0000 (19:31 +0200)]
Log that `doc_markdown` has been rewritten
I hope this will fix most false positives, and maybe some true
negatives, and won't introduce too much new FP.
mcarton [Tue, 30 May 2017 17:28:44 +0000 (19:28 +0200)]
Fix spans in all cases in `doc_markdown`
mcarton [Mon, 29 May 2017 22:11:08 +0000 (00:11 +0200)]
Fix spans in `doc_markdown` in most cases
mcarton [Sun, 28 May 2017 22:12:43 +0000 (00:12 +0200)]
Rewrite `doc_markdown` to use `pulldown-cmark`
mcarton [Sun, 28 May 2017 22:11:58 +0000 (00:11 +0200)]
Add `itertools` and `pulldown-cmark` dependencies
Oliver Schneider [Fri, 16 Jun 2017 16:45:07 +0000 (18:45 +0200)]
Bump the version
Oliver Schneider [Fri, 16 Jun 2017 16:44:41 +0000 (18:44 +0200)]
CHANGELOG is ordered after Cargo
Oliver Schneider [Fri, 16 Jun 2017 16:42:24 +0000 (18:42 +0200)]
Merge pull request #1833 from messense/feature/fix-nightly-06-16
rustup to rustc 1.19.0-nightly (
258ae6dd9 2017-06-15)
messense [Fri, 16 Jun 2017 03:41:41 +0000 (11:41 +0800)]
Update ui tests
messense [Fri, 16 Jun 2017 03:30:55 +0000 (11:30 +0800)]
rustup to rustc 1.19.0-nightly (
258ae6dd9 2017-06-15)
Martin Carton [Wed, 14 Jun 2017 22:12:46 +0000 (00:12 +0200)]
Merge pull request #1830 from scott-linder/generic-new-without-default
Ignore new-without-default lint when `new` method has generic types
scott-linder [Wed, 14 Jun 2017 16:50:19 +0000 (12:50 -0400)]
Ignore new-without-default lint when `new` method has generic types
There may be no sensible `Default` impl if the result of `new` depends
on a type parameter.
Oliver Schneider [Tue, 13 Jun 2017 09:30:52 +0000 (11:30 +0200)]
Merge pull request #1501 from scott-linder/types-borrow-box
Types borrow box
llogiq [Tue, 13 Jun 2017 04:53:17 +0000 (06:53 +0200)]
Merge pull request #1827 from erickt/master
`in_macro` check in `NEEDLESS_RETURN`
Erick Tryzelaar [Tue, 13 Jun 2017 01:36:36 +0000 (18:36 -0700)]
`in_macro` check in `NEEDLESS_RETURN`
This allows you to define a macro like `try!(...)` that embeds an
early exit without emitting the "needless_return" warning.
Closes #1271.
Oliver Schneider [Mon, 12 Jun 2017 20:06:51 +0000 (22:06 +0200)]
Merge pull request #1826 from Manishearth/multi-zero-prefix
deal with multiple prefixed zeros in literals
Andre Bogus [Mon, 12 Jun 2017 18:41:00 +0000 (20:41 +0200)]
deal with multiple prefixed zeros in literals
scott-linder [Mon, 12 Jun 2017 12:44:08 +0000 (08:44 -0400)]
Test for trait method decl/impl for borrowed box.
scott-linder [Mon, 12 Jun 2017 12:43:02 +0000 (08:43 -0400)]
Document `check_ty` and its new `is_local` arg.
scott-linder [Mon, 12 Jun 2017 12:38:29 +0000 (08:38 -0400)]
Merge nested `if` into adjacent `if_let_chain!`
Oliver Schneider [Mon, 12 Jun 2017 06:08:19 +0000 (08:08 +0200)]
Merge pull request #1804 from camsteffen/never_loop
fix never_loop
Cameron Steffen [Sun, 11 Jun 2017 23:37:59 +0000 (18:37 -0500)]
fix another never_loop
Cameron Steffen [Sun, 11 Jun 2017 23:25:26 +0000 (18:25 -0500)]
Merge branch 'master' into never_loop
scott-linder [Sun, 11 Jun 2017 16:30:48 +0000 (12:30 -0400)]
Test for local types in `LINKEDLIST` and `BOX_VEC`
Add negative tests for types in local declarations in the `LINKEDLIST`
and `BOX_VEC` lints. They share a pass with `BORROWED_BOX` which does
check local delclarations.
scott-linder [Sun, 11 Jun 2017 16:11:20 +0000 (12:11 -0400)]
Add `check_local` to `TypePass` for `BORROWED_BOX`
Adds a boolean flag to indicate whether the current type in `check_ty`
is in a local declaration, as only the borrowed box lint should consider
these types.
scott-linder [Sun, 11 Jun 2017 14:49:34 +0000 (10:49 -0400)]
Commit updated example stderr
scott-linder [Sun, 11 Jun 2017 03:51:37 +0000 (23:51 -0400)]
Use span_suggestion in borrowed_box lint
scott-linder [Sun, 11 Jun 2017 03:50:57 +0000 (23:50 -0400)]
Move old-style test to examples
scott-linder [Thu, 2 Feb 2017 15:55:27 +0000 (10:55 -0500)]
Add more exhaustive tests for borrow_box
scott-linder [Thu, 2 Feb 2017 14:29:03 +0000 (09:29 -0500)]
Recurse into inner type when not `&Box<T>`
scott-linder [Thu, 2 Feb 2017 13:36:40 +0000 (08:36 -0500)]
Actually fix the lint applied
scott-linder [Wed, 1 Feb 2017 16:17:17 +0000 (11:17 -0500)]
Fix typo in types check
scott-linder [Wed, 1 Feb 2017 04:19:33 +0000 (23:19 -0500)]
check for borrowed box types
Manish Goregaokar [Sun, 11 Jun 2017 04:46:26 +0000 (21:46 -0700)]
Bump to 0.0.139
Manish Goregaokar [Sun, 11 Jun 2017 04:45:53 +0000 (21:45 -0700)]
Bump the version
Manish Goregaokar [Sun, 11 Jun 2017 04:43:41 +0000 (21:43 -0700)]
Merge pull request #1823 from eddyb/nightly-magic
Update for rustc 1.19.0-nightly (
4bf5c99af 2017-06-10) and some cleanups.
Eduard-Mihai Burtescu [Sun, 11 Jun 2017 03:24:13 +0000 (06:24 +0300)]
Do not use .sty except for matching on it.
Eduard-Mihai Burtescu [Sun, 11 Jun 2017 03:15:53 +0000 (06:15 +0300)]
Remove uses of span_if_local.
Eduard-Mihai Burtescu [Sun, 11 Jun 2017 02:57:25 +0000 (05:57 +0300)]
Abide by the common rustc::ty conventions.
Eduard-Mihai Burtescu [Sun, 11 Jun 2017 02:34:47 +0000 (05:34 +0300)]
Update for rustc 1.19.0-nightly (
4bf5c99af 2017-06-10).
Oliver Schneider [Sat, 10 Jun 2017 07:50:35 +0000 (09:50 +0200)]
Merge pull request #1820 from andersk/nightly
Pass extra parameter to CrateStore::item_children for rustc nightly
Anders Kaseorg [Sat, 10 Jun 2017 05:41:01 +0000 (01:41 -0400)]
Pass extra parameter to CrateStore::item_children for rustc nightly
rust-lang/rust#42507
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Martin Carton [Thu, 8 Jun 2017 20:36:21 +0000 (22:36 +0200)]
Merge pull request #1819 from Manishearth/fix-1814
Check for `for` loop desugaring in highering
mcarton [Thu, 8 Jun 2017 18:16:18 +0000 (20:16 +0200)]
Check for `for` loop desugaring in highering
Oliver Schneider [Wed, 7 Jun 2017 05:50:15 +0000 (07:50 +0200)]
Merge pull request #1816 from Manishearth/fix-451
Check for AsRef/AsMut arguments in wrong_self_convention
Andre Bogus [Wed, 7 Jun 2017 03:40:57 +0000 (05:40 +0200)]
better naming, Iterator::eq
Andre Bogus [Tue, 6 Jun 2017 17:26:50 +0000 (19:26 +0200)]
Check for AsRef/AsMut arguments in wrong_self_convention
This fixes #451
Martin Carton [Mon, 5 Jun 2017 21:15:20 +0000 (23:15 +0200)]
Merge pull request #1814 from Manishearth/rustup
Rustup to *rustc 1.19.0-nightly (
0418fa9d3 2017-06-04)*
mcarton [Mon, 5 Jun 2017 19:52:49 +0000 (21:52 +0200)]
Bump to 0.0.138
mcarton [Mon, 5 Jun 2017 19:49:26 +0000 (21:49 +0200)]
Rustup to *rustc 1.19.0-nightly (
0418fa9d3 2017-06-04)*
Martin Carton [Sun, 4 Jun 2017 22:35:25 +0000 (00:35 +0200)]
Merge pull request #1808 from messense/feature/try-fix-nightly
Try to fix compilation error on rustc 1.19.0-nightly
4ed2edaaf
mcarton [Sun, 4 Jun 2017 22:02:39 +0000 (00:02 +0200)]
Bump to 0.0.137
Eduard-Mihai Burtescu [Sun, 4 Jun 2017 21:28:01 +0000 (00:28 +0300)]
Finish rustup.