]>
git.lizzy.rs Git - rust.git/log
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.
mcarton [Sat, 3 Jun 2017 16:41:46 +0000 (18:41 +0200)]
Continue work on rustup
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)
Cameron Steffen [Fri, 2 Jun 2017 02:31:42 +0000 (21:31 -0500)]
fix never_loop
Cameron Steffen [Thu, 1 Jun 2017 04:22:15 +0000 (23:22 -0500)]
add tests and fixes
Cameron Steffen [Wed, 31 May 2017 01:44:01 +0000 (20:44 -0500)]
fix never_loop
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)
Manish Goregaokar [Sat, 27 May 2017 05:25:39 +0000 (22:25 -0700)]
Rustup to rustc 1.19.0-nightly (
557967766 2017-05-26)
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
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.
Georg Brandl [Fri, 26 May 2017 07:53:52 +0000 (09:53 +0200)]
Update to fix array_indexing failures: RangeInclusive::NonEmpty is gone
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.
Oliver Schneider [Wed, 24 May 2017 12:32:25 +0000 (14:32 +0200)]
Bump the version
Oliver Schneider [Wed, 24 May 2017 12:31:55 +0000 (14:31 +0200)]
Sorting order diff output is weird
Oliver Schneider [Wed, 24 May 2017 12:19:30 +0000 (14:19 +0200)]
Rustup to rustc 1.19.0-nightly (
5b13bff52 2017-05-23)
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
Oliver Schneider [Tue, 23 May 2017 11:19:16 +0000 (13:19 +0200)]
Update contribution instructions to the new system
Oliver Schneider [Tue, 23 May 2017 10:31:06 +0000 (12:31 +0200)]
Merge remote-tracking branch 'origin/master' into testing_refactor
Oliver Schneider [Fri, 19 May 2017 15:02:38 +0000 (17:02 +0200)]
Bump the version
Oliver Schneider [Fri, 19 May 2017 15:02:29 +0000 (17:02 +0200)]
Sort entries in pre-publish script
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)
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)
Oliver Schneider [Wed, 17 May 2017 16:15:21 +0000 (18:15 +0200)]
Enable 64bit vs 32bit tests
Oliver Schneider [Wed, 17 May 2017 15:51:35 +0000 (17:51 +0200)]
Use -Zremap-path-prefix to create system independent paths
Oliver Schneider [Wed, 17 May 2017 13:50:38 +0000 (15:50 +0200)]
Adjust travis and appveyor paths
Oliver Schneider [Wed, 17 May 2017 12:45:36 +0000 (14:45 +0200)]
Use the workspace target directory
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
Martin Carton [Mon, 15 May 2017 21:58:42 +0000 (23:58 +0200)]
Merge pull request #1764 from Manishearth/debug_assert
distinguish debug_assert
Andre Bogus [Mon, 15 May 2017 20:49:20 +0000 (22:49 +0200)]
distinguish debug_assert
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`
mcarton [Sun, 14 May 2017 12:58:16 +0000 (14:58 +0200)]
Fix span in `blacklisted_name`
Oliver Schneider [Sun, 14 May 2017 08:17:32 +0000 (10:17 +0200)]
Bump the version
Oliver Schneider [Sun, 14 May 2017 08:17:29 +0000 (10:17 +0200)]
Git changed the order of files in git diff?
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
Oliver Schneider [Fri, 12 May 2017 10:09:52 +0000 (12:09 +0200)]
Run rustfmt
Oliver Schneider [Fri, 12 May 2017 10:08:54 +0000 (12:08 +0200)]
Bump the version
Oliver Schneider [Fri, 12 May 2017 10:02:42 +0000 (12:02 +0200)]
Fix various wrong uses of NestedVisitorMap::All
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
Oliver Schneider [Thu, 11 May 2017 16:59:36 +0000 (18:59 +0200)]
Fix #1730
Oliver Schneider [Thu, 11 May 2017 14:37:46 +0000 (16:37 +0200)]
Reduce code duplication
Oliver Schneider [Thu, 11 May 2017 16:18:58 +0000 (18:18 +0200)]
Merge pull request #1747 from Manishearth/mut_fp
Fixes #1735
Oliver Schneider [Thu, 11 May 2017 16:18:44 +0000 (18:18 +0200)]
Merge pull request #1748 from luisbg/empty_lines
Empty lines
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.
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.
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.
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.
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.
Luis de Bethencourt [Thu, 11 May 2017 15:02:19 +0000 (16:02 +0100)]
clean tests/ui/unsafe_removed_from_name.rs
Cleaning the empty lines for clarity.
Luis de Bethencourt [Thu, 11 May 2017 15:00:41 +0000 (16:00 +0100)]
clean tests/ui/unicode.rs
Cleaning the empty lines for clarity.
Luis de Bethencourt [Thu, 11 May 2017 14:55:55 +0000 (15:55 +0100)]
clean tests/ui/transmute.rs
Cleaning the empty lines for clarity.
Luis de Bethencourt [Thu, 11 May 2017 14:51:28 +0000 (15:51 +0100)]
clean tests/ui/toplevel_ref_arg.rs
Cleaning the empty lines for clarity.
Luis de Bethencourt [Thu, 11 May 2017 14:49:54 +0000 (15:49 +0100)]
clean tests/ui/swap.rs
Cleaning the empty lines for clarity.
Luis de Bethencourt [Thu, 11 May 2017 14:47:31 +0000 (15:47 +0100)]
clean tests/ui/strings.rs
Cleaning the empty lines for clarity.
Luis de Bethencourt [Thu, 11 May 2017 14:45:02 +0000 (15:45 +0100)]
clean tests/ui/short_circuit_statement.rs
Cleaning the empty lines for clarity.
Luis de Bethencourt [Thu, 11 May 2017 14:42:56 +0000 (15:42 +0100)]
clean tests/ui/serde.rs
Cleaning the empty lines for clarity.
Luis de Bethencourt [Thu, 11 May 2017 14:41:40 +0000 (15:41 +0100)]
clean tests/ui/regex.rs
Cleaning the empty lines for clarity.
Luis de Bethencourt [Thu, 11 May 2017 14:38:19 +0000 (15:38 +0100)]
clean tests/ui/reference.rs
Cleaning the empty lines for clarity.
Luis de Bethencourt [Thu, 11 May 2017 14:36:28 +0000 (15:36 +0100)]
clean tests/ui/redundant_closure_call.rs
Cleaning the empty lines for clarity.
Luis de Bethencourt [Thu, 11 May 2017 14:34:14 +0000 (15:34 +0100)]
clean tests/ui/print.rs
Cleaning the empty lines for clarity.
Luis de Bethencourt [Thu, 11 May 2017 14:32:42 +0000 (15:32 +0100)]
clean tests/ui/precedence.rs
Cleaning the empty lines for clarity.