]> git.lizzy.rs Git - rust.git/log
rust.git
7 years agoBump the version
Oliver Schneider [Mon, 3 Jul 2017 07:23:30 +0000 (09:23 +0200)]
Bump the version

7 years agoMerge pull request #1868 from messense/feature/fix-nightly-07-02
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)

7 years agoUpdate windows ui tests
messense [Mon, 3 Jul 2017 06:53:52 +0000 (14:53 +0800)]
Update windows ui tests

7 years agoUpdate ui tests for examples
messense [Mon, 3 Jul 2017 04:37:30 +0000 (12:37 +0800)]
Update ui tests for examples

7 years agoUpdate ui tests
messense [Mon, 3 Jul 2017 04:37:14 +0000 (12:37 +0800)]
Update ui tests

7 years agoFix compilation on rustc 1.20.0-nightly (067971139 2017-07-02)
messense [Mon, 3 Jul 2017 04:26:03 +0000 (12:26 +0800)]
Fix compilation on rustc 1.20.0-nightly (067971139 2017-07-02)

7 years agoMerge pull request #1866 from Manishearth/oli-obk-patch-2
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

7 years agoUpdate compiletest dependency
Oliver Schneider [Sat, 1 Jul 2017 14:22:09 +0000 (16:22 +0200)]
Update compiletest dependency

7 years agoMerge pull request #1862 from messense/feature/fix-nightly-06-28
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)

7 years agoRun rustfmt
Oliver Schneider [Thu, 29 Jun 2017 14:07:43 +0000 (16:07 +0200)]
Run rustfmt

7 years agoBump the version
Oliver Schneider [Thu, 29 Jun 2017 14:04:53 +0000 (16:04 +0200)]
Bump the version

7 years agoFix compilation on rustc 1.20.0-nightly (69c65d296 2017-06-28)
messense [Thu, 29 Jun 2017 13:38:25 +0000 (21:38 +0800)]
Fix compilation on rustc 1.20.0-nightly (69c65d296 2017-06-28)

7 years agoMerge pull request #1536 from CBenoit/master
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`

7 years agoMerge pull request #1855 from Manishearth/for_loop
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

7 years agoUpdate for latest master
Oliver Schneider [Wed, 28 Jun 2017 09:02:27 +0000 (11:02 +0200)]
Update for latest master

7 years agoImprove needless_borrowed_ref lint doc.
Benoît CORTIER [Mon, 26 Jun 2017 12:42:24 +0000 (14:42 +0200)]
Improve needless_borrowed_ref lint doc.

7 years agoAdd needless borrowed ref lint (WIP).
Benoît CORTIER [Sat, 24 Jun 2017 10:04:56 +0000 (12:04 +0200)]
Add needless borrowed ref lint (WIP).

7 years agoMerge pull request #1841 from sanxiyn/span-lint-and-sugg
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

7 years agoUse span_lint_and_sugg
Seo Sanghyeon [Wed, 21 Jun 2017 18:04:04 +0000 (03:04 +0900)]
Use span_lint_and_sugg

7 years agoMerge pull request #1839 from Manishearth/rustup-tests
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

7 years agoFix 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

7 years agoMerge pull request #1837 from Manishearth/step_by
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`

7 years agoReplace `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`

7 years agoMerge pull request #1799 from Manishearth/docs
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`

7 years agoFix links in change log
mcarton [Sat, 17 Jun 2017 16:27:28 +0000 (18:27 +0200)]
Fix links in change log

7 years agoDon't depend explicitly on `pulldown-cmark`
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.

7 years agoDon't use default features for `pulldown-cmark`
mcarton [Thu, 1 Jun 2017 21:11:31 +0000 (23:11 +0200)]
Don't use default features for `pulldown-cmark`

7 years agoIgnore mix of {,non-}sugared doc in `doc_markdown`
mcarton [Tue, 30 May 2017 17:50:07 +0000 (19:50 +0200)]
Ignore mix of {,non-}sugared doc in `doc_markdown`

7 years agoAdd a new `doc_markdown` test from issue comments
mcarton [Tue, 30 May 2017 17:49:09 +0000 (19:49 +0200)]
Add a new `doc_markdown` test from issue comments

7 years agoLog that `doc_markdown` has been rewritten
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.

7 years agoFix spans in all cases in `doc_markdown`
mcarton [Tue, 30 May 2017 17:28:44 +0000 (19:28 +0200)]
Fix spans in all cases in `doc_markdown`

7 years agoFix spans in `doc_markdown` in most cases
mcarton [Mon, 29 May 2017 22:11:08 +0000 (00:11 +0200)]
Fix spans in `doc_markdown` in most cases

7 years agoRewrite `doc_markdown` to use `pulldown-cmark`
mcarton [Sun, 28 May 2017 22:12:43 +0000 (00:12 +0200)]
Rewrite `doc_markdown` to use `pulldown-cmark`

7 years agoAdd `itertools` and `pulldown-cmark` dependencies
mcarton [Sun, 28 May 2017 22:11:58 +0000 (00:11 +0200)]
Add `itertools` and `pulldown-cmark` dependencies

7 years agoBump the version
Oliver Schneider [Fri, 16 Jun 2017 16:45:07 +0000 (18:45 +0200)]
Bump the version

7 years agoCHANGELOG is ordered after Cargo
Oliver Schneider [Fri, 16 Jun 2017 16:44:41 +0000 (18:44 +0200)]
CHANGELOG is ordered after Cargo

7 years agoMerge pull request #1833 from messense/feature/fix-nightly-06-16
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)

7 years agoUpdate ui tests
messense [Fri, 16 Jun 2017 03:41:41 +0000 (11:41 +0800)]
Update ui tests

7 years agorustup to rustc 1.19.0-nightly (258ae6dd9 2017-06-15)
messense [Fri, 16 Jun 2017 03:30:55 +0000 (11:30 +0800)]
rustup to rustc 1.19.0-nightly (258ae6dd9 2017-06-15)

7 years agoMerge pull request #1830 from scott-linder/generic-new-without-default
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

7 years agoIgnore 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.

7 years agoMerge pull request #1501 from scott-linder/types-borrow-box
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

7 years agoMerge pull request #1827 from erickt/master
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`

7 years ago`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.

7 years agoMerge pull request #1826 from Manishearth/multi-zero-prefix
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

7 years agodeal 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

7 years agoTest for trait method decl/impl for borrowed box.
scott-linder [Mon, 12 Jun 2017 12:44:08 +0000 (08:44 -0400)]
Test for trait method decl/impl for borrowed box.

7 years agoDocument `check_ty` and its new `is_local` arg.
scott-linder [Mon, 12 Jun 2017 12:43:02 +0000 (08:43 -0400)]
Document `check_ty` and its new `is_local` arg.

7 years agoMerge nested `if` into adjacent `if_let_chain!`
scott-linder [Mon, 12 Jun 2017 12:38:29 +0000 (08:38 -0400)]
Merge nested `if` into adjacent `if_let_chain!`

7 years agoMerge pull request #1804 from camsteffen/never_loop
Oliver Schneider [Mon, 12 Jun 2017 06:08:19 +0000 (08:08 +0200)]
Merge pull request #1804 from camsteffen/never_loop

fix never_loop

7 years agofix another never_loop
Cameron Steffen [Sun, 11 Jun 2017 23:37:59 +0000 (18:37 -0500)]
fix another never_loop

7 years agoMerge branch 'master' into never_loop
Cameron Steffen [Sun, 11 Jun 2017 23:25:26 +0000 (18:25 -0500)]
Merge branch 'master' into never_loop

7 years agoTest for local types in `LINKEDLIST` and `BOX_VEC`
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.

7 years agoAdd `check_local` to `TypePass` for `BORROWED_BOX`
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.

7 years agoCommit updated example stderr
scott-linder [Sun, 11 Jun 2017 14:49:34 +0000 (10:49 -0400)]
Commit updated example stderr

7 years agoUse span_suggestion in borrowed_box lint
scott-linder [Sun, 11 Jun 2017 03:51:37 +0000 (23:51 -0400)]
Use span_suggestion in borrowed_box lint

7 years agoMove old-style test to examples
scott-linder [Sun, 11 Jun 2017 03:50:57 +0000 (23:50 -0400)]
Move old-style test to examples

7 years agoAdd more exhaustive tests for borrow_box
scott-linder [Thu, 2 Feb 2017 15:55:27 +0000 (10:55 -0500)]
Add more exhaustive tests for borrow_box

7 years agoRecurse into inner type when not `&Box<T>`
scott-linder [Thu, 2 Feb 2017 14:29:03 +0000 (09:29 -0500)]
Recurse into inner type when not `&Box<T>`

7 years agoActually fix the lint applied
scott-linder [Thu, 2 Feb 2017 13:36:40 +0000 (08:36 -0500)]
Actually fix the lint applied

7 years agoFix typo in types check
scott-linder [Wed, 1 Feb 2017 16:17:17 +0000 (11:17 -0500)]
Fix typo in types check

7 years agocheck for borrowed box types
scott-linder [Wed, 1 Feb 2017 04:19:33 +0000 (23:19 -0500)]
check for borrowed box types

7 years agoBump to 0.0.139
Manish Goregaokar [Sun, 11 Jun 2017 04:46:26 +0000 (21:46 -0700)]
Bump to 0.0.139

7 years agoBump the version
Manish Goregaokar [Sun, 11 Jun 2017 04:45:53 +0000 (21:45 -0700)]
Bump the version

7 years agoMerge pull request #1823 from eddyb/nightly-magic
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.

7 years agoDo not use .sty except for matching on it.
Eduard-Mihai Burtescu [Sun, 11 Jun 2017 03:24:13 +0000 (06:24 +0300)]
Do not use .sty except for matching on it.

7 years agoRemove uses of span_if_local.
Eduard-Mihai Burtescu [Sun, 11 Jun 2017 03:15:53 +0000 (06:15 +0300)]
Remove uses of span_if_local.

7 years agoAbide by the common rustc::ty conventions.
Eduard-Mihai Burtescu [Sun, 11 Jun 2017 02:57:25 +0000 (05:57 +0300)]
Abide by the common rustc::ty conventions.

7 years agoUpdate for rustc 1.19.0-nightly (4bf5c99af 2017-06-10).
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).

7 years agoMerge pull request #1820 from andersk/nightly
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

7 years agoPass 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>
7 years agoMerge pull request #1819 from Manishearth/fix-1814
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

7 years agoCheck 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

7 years agoMerge pull request #1816 from Manishearth/fix-451
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

7 years agobetter naming, Iterator::eq
Andre Bogus [Wed, 7 Jun 2017 03:40:57 +0000 (05:40 +0200)]
better naming, Iterator::eq

7 years agoCheck for AsRef/AsMut arguments in wrong_self_convention
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

7 years agoMerge pull request #1814 from Manishearth/rustup
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)*

7 years agoBump to 0.0.138
mcarton [Mon, 5 Jun 2017 19:52:49 +0000 (21:52 +0200)]
Bump to 0.0.138

7 years agoRustup to *rustc 1.19.0-nightly (0418fa9d3 2017-06-04)*
mcarton [Mon, 5 Jun 2017 19:49:26 +0000 (21:49 +0200)]
Rustup to *rustc 1.19.0-nightly (0418fa9d3 2017-06-04)*

7 years agoMerge pull request #1808 from messense/feature/try-fix-nightly
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

7 years agoBump to 0.0.137
mcarton [Sun, 4 Jun 2017 22:02:39 +0000 (00:02 +0200)]
Bump to 0.0.137

7 years agoFinish rustup.
Eduard-Mihai Burtescu [Sun, 4 Jun 2017 21:28:01 +0000 (00:28 +0300)]
Finish rustup.

7 years agoContinue work on rustup
mcarton [Sat, 3 Jun 2017 16:41:46 +0000 (18:41 +0200)]
Continue work on rustup

7 years agoTry to fix compilation error on rustc 1.19.0-nightly (4ed2edaaf 2017-06-01)
messense [Fri, 2 Jun 2017 04:13:04 +0000 (12:13 +0800)]
Try to fix compilation error on rustc 1.19.0-nightly (4ed2edaaf 2017-06-01)

7 years agofix never_loop
Cameron Steffen [Fri, 2 Jun 2017 02:31:42 +0000 (21:31 -0500)]
fix never_loop

7 years agoadd tests and fixes
Cameron Steffen [Thu, 1 Jun 2017 04:22:15 +0000 (23:22 -0500)]
add tests and fixes

7 years agofix never_loop
Cameron Steffen [Wed, 31 May 2017 01:44:01 +0000 (20:44 -0500)]
fix never_loop

7 years agoMerge pull request #1787 from Manishearth/rustup
Manish Goregaokar [Sat, 27 May 2017 05:56:38 +0000 (22:56 -0700)]
Merge pull request #1787 from Manishearth/rustup

Rustup to rustc 1.19.0-nightly (557967766 2017-05-26)

7 years agoRustup to rustc 1.19.0-nightly (557967766 2017-05-26)
Manish Goregaokar [Sat, 27 May 2017 05:25:39 +0000 (22:25 -0700)]
Rustup to rustc 1.19.0-nightly (557967766 2017-05-26)

7 years agoMerge pull request #1784 from birkenfeld/update
Georg Brandl [Fri, 26 May 2017 18:23:57 +0000 (20:23 +0200)]
Merge pull request #1784 from birkenfeld/update

Demote never_loop lint to Allow for now

7 years agoDemote the never_loop lint to Allow for now.
Georg Brandl [Fri, 26 May 2017 07:20:03 +0000 (09:20 +0200)]
Demote the never_loop lint to Allow for now.

Also add "known problem" to the description, with link to #1586.

7 years agoUpdate to fix array_indexing failures: RangeInclusive::NonEmpty is gone
Georg Brandl [Fri, 26 May 2017 07:53:52 +0000 (09:53 +0200)]
Update to fix array_indexing failures: RangeInclusive::NonEmpty is gone

7 years agoUpdate stderr files for change in error reporting
Georg Brandl [Fri, 26 May 2017 07:21:54 +0000 (09:21 +0200)]
Update stderr files for change in error reporting

rustc now (https://github.com/rust-lang/rust/issues/33525) does not
report an error count anymore, because it was not correct in many cases.

7 years agoBump the version
Oliver Schneider [Wed, 24 May 2017 12:32:25 +0000 (14:32 +0200)]
Bump the version

7 years agoSorting order diff output is weird
Oliver Schneider [Wed, 24 May 2017 12:31:55 +0000 (14:31 +0200)]
Sorting order diff output is weird

7 years agoRustup to rustc 1.19.0-nightly (5b13bff52 2017-05-23)
Oliver Schneider [Wed, 24 May 2017 12:19:30 +0000 (14:19 +0200)]
Rustup to rustc 1.19.0-nightly (5b13bff52 2017-05-23)

7 years agoMerge pull request #1766 from Manishearth/testing_refactor
Oliver Schneider [Tue, 23 May 2017 11:46:45 +0000 (13:46 +0200)]
Merge pull request #1766 from Manishearth/testing_refactor

Make most tests an `example` so we can run them one by one

7 years agoUpdate contribution instructions to the new system
Oliver Schneider [Tue, 23 May 2017 11:19:16 +0000 (13:19 +0200)]
Update contribution instructions to the new system

7 years agoMerge remote-tracking branch 'origin/master' into testing_refactor
Oliver Schneider [Tue, 23 May 2017 10:31:06 +0000 (12:31 +0200)]
Merge remote-tracking branch 'origin/master' into testing_refactor

7 years agoBump the version
Oliver Schneider [Fri, 19 May 2017 15:02:38 +0000 (17:02 +0200)]
Bump the version