]> git.lizzy.rs Git - rust.git/log
rust.git
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

7 years agoSort entries in pre-publish script
Oliver Schneider [Fri, 19 May 2017 15:02:29 +0000 (17:02 +0200)]
Sort entries in pre-publish script

7 years agoMerge pull request #1768 from messense/feature/fix-nightly
Oliver Schneider [Fri, 19 May 2017 09:08:44 +0000 (11:08 +0200)]
Merge pull request #1768 from messense/feature/fix-nightly

Fix build failure on rustc 1.19.0-nightly (0ed1ec9f9 2017-05-18)

7 years agoFix build failure on rustc 1.19.0-nightly (0ed1ec9f9 2017-05-18)
messense [Fri, 19 May 2017 08:54:02 +0000 (16:54 +0800)]
Fix build failure on rustc 1.19.0-nightly (0ed1ec9f9 2017-05-18)

7 years agoEnable 64bit vs 32bit tests
Oliver Schneider [Wed, 17 May 2017 16:15:21 +0000 (18:15 +0200)]
Enable 64bit vs 32bit tests

7 years agoUse -Zremap-path-prefix to create system independent paths
Oliver Schneider [Wed, 17 May 2017 15:51:35 +0000 (17:51 +0200)]
Use -Zremap-path-prefix to create system independent paths

7 years agoAdjust travis and appveyor paths
Oliver Schneider [Wed, 17 May 2017 13:50:38 +0000 (15:50 +0200)]
Adjust travis and appveyor paths

7 years agoUse the workspace target directory
Oliver Schneider [Wed, 17 May 2017 12:45:36 +0000 (14:45 +0200)]
Use the workspace target directory

7 years agoMake most tests an `example` so we can run them one by one
Oliver Schneider [Wed, 17 May 2017 12:19:44 +0000 (14:19 +0200)]
Make most tests an `example` so we can run them one by one

7 years agoMerge pull request #1764 from Manishearth/debug_assert
Martin Carton [Mon, 15 May 2017 21:58:42 +0000 (23:58 +0200)]
Merge pull request #1764 from Manishearth/debug_assert

distinguish debug_assert

7 years agodistinguish debug_assert
Andre Bogus [Mon, 15 May 2017 20:49:20 +0000 (22:49 +0200)]
distinguish debug_assert

7 years agoMerge pull request #1760 from Manishearth/fix1647
Oliver Schneider [Mon, 15 May 2017 06:42:59 +0000 (08:42 +0200)]
Merge pull request #1760 from Manishearth/fix1647

Fix span in `blacklisted_name`

7 years agoFix span in `blacklisted_name`
mcarton [Sun, 14 May 2017 12:58:16 +0000 (14:58 +0200)]
Fix span in `blacklisted_name`

7 years agoBump the version
Oliver Schneider [Sun, 14 May 2017 08:17:32 +0000 (10:17 +0200)]
Bump the version

7 years agoGit changed the order of files in git diff?
Oliver Schneider [Sun, 14 May 2017 08:17:29 +0000 (10:17 +0200)]
Git changed the order of files in git diff?

7 years agoUpdate to rustc 1.19.0-nightly (826d8f385 2017-05-13)
Oliver Schneider [Sun, 14 May 2017 07:56:10 +0000 (09:56 +0200)]
Update to rustc 1.19.0-nightly (826d8f385 2017-05-13)

fixes #1759, #1758

7 years agoRun rustfmt
Oliver Schneider [Fri, 12 May 2017 10:09:52 +0000 (12:09 +0200)]
Run rustfmt

7 years agoBump the version
Oliver Schneider [Fri, 12 May 2017 10:08:54 +0000 (12:08 +0200)]
Bump the version

7 years agoFix various wrong uses of NestedVisitorMap::All
Oliver Schneider [Fri, 12 May 2017 10:02:42 +0000 (12:02 +0200)]
Fix various wrong uses of NestedVisitorMap::All

7 years agoMerge pull request #1749 from Manishearth/cmp_owned
Oliver Schneider [Fri, 12 May 2017 05:27:03 +0000 (07:27 +0200)]
Merge pull request #1749 from Manishearth/cmp_owned

Improve cmp_owned and stop suggestiong `self == other` inside a `PartialEq` impl

7 years agoFix #1730
Oliver Schneider [Thu, 11 May 2017 16:59:36 +0000 (18:59 +0200)]
Fix #1730

7 years agoReduce code duplication
Oliver Schneider [Thu, 11 May 2017 14:37:46 +0000 (16:37 +0200)]
Reduce code duplication

7 years agoMerge pull request #1747 from Manishearth/mut_fp
Oliver Schneider [Thu, 11 May 2017 16:18:58 +0000 (18:18 +0200)]
Merge pull request #1747 from Manishearth/mut_fp

Fixes #1735

7 years agoMerge pull request #1748 from luisbg/empty_lines
Oliver Schneider [Thu, 11 May 2017 16:18:44 +0000 (18:18 +0200)]
Merge pull request #1748 from luisbg/empty_lines

Empty lines

7 years agoclean tests/ui/zero_div_zero.rs
Luis de Bethencourt [Thu, 11 May 2017 15:16:19 +0000 (16:16 +0100)]
clean tests/ui/zero_div_zero.rs

Cleaning the empty lines for clarity.

7 years agoclean tests/ui/while_loop.rs
Luis de Bethencourt [Thu, 11 May 2017 15:13:32 +0000 (16:13 +0100)]
clean tests/ui/while_loop.rs

Cleaning the empty lines for clarity.

7 years agoclean tests/ui/vec.rs
Luis de Bethencourt [Thu, 11 May 2017 15:07:49 +0000 (16:07 +0100)]
clean tests/ui/vec.rs

Cleaning the empty lines for clarity.

7 years agoclean tests/ui/used_underscore_binding.rs
Luis de Bethencourt [Thu, 11 May 2017 15:05:22 +0000 (16:05 +0100)]
clean tests/ui/used_underscore_binding.rs

Cleaning the empty lines for clarity.

7 years agoclean tests/ui/unused_io_amount.rs
Luis de Bethencourt [Thu, 11 May 2017 15:03:26 +0000 (16:03 +0100)]
clean tests/ui/unused_io_amount.rs

Cleaning the empty lines for clarity.