]> git.lizzy.rs Git - rust.git/log
rust.git
6 years agouse CompilerDesugaringKind
Frederick Zhang [Sat, 19 Aug 2017 08:03:29 +0000 (18:03 +1000)]
use CompilerDesugaringKind

6 years agoMerge pull request #1965 from montrivo/use_self
Oliver Schneider [Fri, 18 Aug 2017 18:54:18 +0000 (20:54 +0200)]
Merge pull request #1965 from montrivo/use_self

lint #1674: replace struct name with `Self` when applicable

6 years agolint #1674: replace struct name with `Self` when applicable
Tim Nielens [Fri, 18 Aug 2017 17:42:26 +0000 (19:42 +0200)]
lint #1674: replace struct name with `Self` when applicable

SelfType const and suggestion

6 years agoMerge pull request #1967 from koivunej/issue-1964
Oliver Schneider [Fri, 18 Aug 2017 15:01:48 +0000 (17:01 +0200)]
Merge pull request #1967 from koivunej/issue-1964

Fix let_unit_value with for loop iterating over units

6 years agotests/ui/let_unit: fix comment and example code
Joonas Koivunen [Fri, 18 Aug 2017 14:29:05 +0000 (17:29 +0300)]
tests/ui/let_unit: fix comment and example code

The previous version would had deadlocked as the Sender remained alive
and iterator would had never became complete. Just in case someone
decided to run it.

6 years agois_from_for_loop: document what first check matches
Joonas Koivunen [Fri, 18 Aug 2017 14:12:00 +0000 (17:12 +0300)]
is_from_for_loop: document what first check matches

Removing the first check will break a lot of for-loop UI tests and the
dogfood test.

6 years agois_from_for_desugar: add match for `for _ in x`
Joonas Koivunen [Fri, 18 Aug 2017 14:07:39 +0000 (17:07 +0300)]
is_from_for_desugar: add match for `for _ in x`

This will avoid `let_unit_value` in the examples in the ui-test.
It might match too widely.

6 years agolint #1674: replace struct name with `Self` when applicable
Tim Nielens [Fri, 28 Jul 2017 11:28:07 +0000 (13:28 +0200)]
lint #1674: replace struct name with `Self` when applicable

6 years agoBump the version
Oliver Schneider [Tue, 15 Aug 2017 09:11:20 +0000 (11:11 +0200)]
Bump the version

6 years agoRustup
Oliver Schneider [Tue, 15 Aug 2017 09:10:49 +0000 (11:10 +0200)]
Rustup

6 years agoMerge pull request #1953 from mati865/master
Oliver Schneider [Mon, 14 Aug 2017 15:12:05 +0000 (17:12 +0200)]
Merge pull request #1953 from mati865/master

Fix verbose_bit_mask off by one error

6 years agoFix verbose_bit_mask off by one error
Mateusz Mikula [Sun, 13 Aug 2017 13:13:13 +0000 (15:13 +0200)]
Fix verbose_bit_mask off by one error

Fixes #1940

6 years agoUpdate for rustc output changes
Oliver Schneider [Mon, 14 Aug 2017 07:51:16 +0000 (09:51 +0200)]
Update for rustc output changes

6 years agoBump the version
Oliver Schneider [Sun, 13 Aug 2017 18:57:55 +0000 (20:57 +0200)]
Bump the version

6 years agoRustup
Oliver Schneider [Fri, 11 Aug 2017 12:11:46 +0000 (14:11 +0200)]
Rustup

6 years agoHandfix dogfood issues with the rustfmt changes
Oliver Schneider [Wed, 9 Aug 2017 07:59:38 +0000 (09:59 +0200)]
Handfix dogfood issues with the rustfmt changes

6 years agoRustfmt
Oliver Schneider [Wed, 9 Aug 2017 07:30:56 +0000 (09:30 +0200)]
Rustfmt

6 years agoBump the version
Oliver Schneider [Wed, 9 Aug 2017 06:57:31 +0000 (08:57 +0200)]
Bump the version

6 years agoMerge pull request #1951 from rust-lang-nursery/doc_improvements
Oliver Schneider [Sun, 13 Aug 2017 19:02:10 +0000 (21:02 +0200)]
Merge pull request #1951 from rust-lang-nursery/doc_improvements

some small doc improvements

6 years agosome small doc improvements
Andre Bogus [Sat, 12 Aug 2017 22:14:28 +0000 (00:14 +0200)]
some small doc improvements

6 years agoMerge pull request #1942 from Frederick888/fix-1941
llogiq [Wed, 9 Aug 2017 05:16:52 +0000 (07:16 +0200)]
Merge pull request #1942 from Frederick888/fix-1941

Try to fix #1941

6 years agofix usage of for_each_relevant_impl
Frederick Zhang [Wed, 9 Aug 2017 03:21:33 +0000 (13:21 +1000)]
fix usage of for_each_relevant_impl

6 years agoMerge pull request #1935 from rust-lang-nursery/oli-obk-patch-2
Martin Carton [Mon, 7 Aug 2017 17:56:52 +0000 (19:56 +0200)]
Merge pull request #1935 from rust-lang-nursery/oli-obk-patch-2

Don't cache builds on travis

6 years agoMerge pull request #1936 from rust-lang-nursery/oli-obk-patch-3
Martin Carton [Mon, 7 Aug 2017 17:54:04 +0000 (19:54 +0200)]
Merge pull request #1936 from rust-lang-nursery/oli-obk-patch-3

Update CONTRIBUTING.md

6 years agoUpdate CONTRIBUTING.md
Oliver Schneider [Mon, 7 Aug 2017 15:33:27 +0000 (17:33 +0200)]
Update CONTRIBUTING.md

6 years agoMerge pull request #1934 from killercup/feature/docs-version-ordering
Oliver Schneider [Mon, 7 Aug 2017 11:38:38 +0000 (13:38 +0200)]
Merge pull request #1934 from killercup/feature/docs-version-ordering

Docs index: Sort versions in a nice way

6 years agoDon't cache builds on travis
Oliver Schneider [Mon, 7 Aug 2017 11:34:36 +0000 (13:34 +0200)]
Don't cache builds on travis

6 years agoDocs index: Sort versions in a nice way
Pascal Hertleif [Mon, 7 Aug 2017 10:57:17 +0000 (12:57 +0200)]
Docs index: Sort versions in a nice way

This introduces a very sophisticated algorithm to determine the ordering
of versions on the rendered docs' start page.

(Spoiler alert: It maps "master" and "current" to the largest possible
float values and converts a version like "1.2.3" to "1002003".)

6 years agoMerge pull request #1923 from killercup/feature/1917-docs-versions-index
Oliver Schneider [Mon, 7 Aug 2017 06:39:43 +0000 (08:39 +0200)]
Merge pull request #1923 from killercup/feature/1917-docs-versions-index

Generate version index for docs domain index

6 years agoBump the version
Andre Bogus [Sun, 6 Aug 2017 20:50:19 +0000 (22:50 +0200)]
Bump the version

6 years agofixing dogfood
Andre Bogus [Sun, 6 Aug 2017 09:09:53 +0000 (11:09 +0200)]
fixing dogfood

6 years agoMerge pull request #1929 from Frederick888/fix-1928
llogiq [Sun, 6 Aug 2017 06:57:32 +0000 (08:57 +0200)]
Merge pull request #1929 from Frederick888/fix-1928

Try to fix #1928

6 years agofix ConstFloat usage
Frederick Zhang [Sun, 6 Aug 2017 05:06:21 +0000 (15:06 +1000)]
fix ConstFloat usage

6 years agoMerge pull request #1913 from rust-lang-nursery/while_let_loop
Oliver Schneider [Fri, 4 Aug 2017 08:16:52 +0000 (10:16 +0200)]
Merge pull request #1913 from rust-lang-nursery/while_let_loop

Find binding or assignment within outer loop

6 years agounify checks into single visitor, fix block walk
Andre Bogus [Wed, 2 Aug 2017 22:41:46 +0000 (00:41 +0200)]
unify checks into single visitor, fix block walk

6 years agoWIP: Find binding or assignment within outer loop
Andre Bogus [Mon, 31 Jul 2017 22:58:26 +0000 (00:58 +0200)]
WIP: Find binding or assignment within outer loop

6 years agoGenerate version index for docs domain index
Pascal Hertleif [Thu, 3 Aug 2017 19:17:12 +0000 (21:17 +0200)]
Generate version index for docs domain index

Uses basically the same code as the lint docs page as I didn't want to
reinvent anything: A simple python script (inline in deploy script)
writes an array of versions to a JSON file, which gets turned into a
list of links using a bit of angular.js code.

Fixes #1917

6 years agoUpdate URL in rendered docs Github ribbon
Pascal Hertleif [Thu, 3 Aug 2017 19:17:44 +0000 (21:17 +0200)]
Update URL in rendered docs Github ribbon

[ci skip]

6 years agoMerge pull request #1922 from rust-lang-nursery/compiletest_update
Martin Carton [Wed, 2 Aug 2017 17:51:59 +0000 (19:51 +0200)]
Merge pull request #1922 from rust-lang-nursery/compiletest_update

Update to latest compiletest version

6 years agoUpdate to latest compiletest version
Oliver Schneider [Wed, 2 Aug 2017 16:07:05 +0000 (18:07 +0200)]
Update to latest compiletest version

6 years agoMerge pull request #1919 from rust-lang-nursery/ui
Oliver Schneider [Wed, 2 Aug 2017 16:03:35 +0000 (18:03 +0200)]
Merge pull request #1919 from rust-lang-nursery/ui

Move all our tests back to ui tests

6 years agoRemove all references to `clippy_tests`
Oliver Schneider [Wed, 2 Aug 2017 15:24:07 +0000 (17:24 +0200)]
Remove all references to `clippy_tests`

6 years agoRevert "Update contribution instructions to the new system"
Oliver Schneider [Wed, 2 Aug 2017 10:46:06 +0000 (12:46 +0200)]
Revert "Update contribution instructions to the new system"

This reverts commit 5ed2066dca61312e558e36c86a832d6e3c383ce7.

6 years agoMove all our tests back to ui tests
Oliver Schneider [Tue, 1 Aug 2017 15:54:21 +0000 (17:54 +0200)]
Move all our tests back to ui tests

6 years agoMerge pull request #1869 from rust-lang-nursery/new_lint
Oliver Schneider [Tue, 1 Aug 2017 14:05:11 +0000 (16:05 +0200)]
Merge pull request #1869 from rust-lang-nursery/new_lint

Lint authoring tool

6 years agoProduce backtrace on travis
Oliver Schneider [Tue, 1 Aug 2017 13:19:12 +0000 (15:19 +0200)]
Produce backtrace on travis

6 years agoUpdate to latest rustc diagnostic output
Oliver Schneider [Tue, 1 Aug 2017 11:11:48 +0000 (13:11 +0200)]
Update to latest rustc diagnostic output

6 years agoFix some more dogfood issues
Oliver Schneider [Tue, 1 Aug 2017 11:05:57 +0000 (13:05 +0200)]
Fix some more dogfood issues

6 years agoThe lint doesn't improve perf (yet)
Oliver Schneider [Mon, 10 Jul 2017 07:50:36 +0000 (09:50 +0200)]
The lint doesn't improve perf (yet)

6 years agoUse the authoring tool to create a new lint
Oliver Schneider [Mon, 3 Jul 2017 14:07:04 +0000 (16:07 +0200)]
Use the authoring tool to create a new lint

6 years agoCreate a lint authoring helper (generates matching code)
Oliver Schneider [Mon, 3 Jul 2017 13:24:52 +0000 (15:24 +0200)]
Create a lint authoring helper (generates matching code)

6 years agoFix the config regex for the wiki generator
Oliver Schneider [Tue, 1 Aug 2017 08:33:16 +0000 (10:33 +0200)]
Fix the config regex for the wiki generator

6 years agoRun rustfmt
Oliver Schneider [Tue, 1 Aug 2017 08:19:49 +0000 (10:19 +0200)]
Run rustfmt

6 years agoBump the version
Oliver Schneider [Tue, 1 Aug 2017 08:19:18 +0000 (10:19 +0200)]
Bump the version

6 years agoupdate_lints.sh has a different opinion on ordering things
Oliver Schneider [Tue, 1 Aug 2017 08:18:56 +0000 (10:18 +0200)]
update_lints.sh has a different opinion on ordering things

6 years agoMerge pull request #1900 from jayhardee9/luckily_literals_love_lints
Oliver Schneider [Tue, 1 Aug 2017 08:15:29 +0000 (10:15 +0200)]
Merge pull request #1900 from jayhardee9/luckily_literals_love_lints

Add lints for digit grouping.

6 years agoMore autoclippyification
Oliver Schneider [Tue, 1 Aug 2017 07:55:17 +0000 (09:55 +0200)]
More autoclippyification

6 years agoClippy fixes itself
Oliver Schneider [Tue, 1 Aug 2017 07:45:36 +0000 (09:45 +0200)]
Clippy fixes itself

6 years agoMerge pull request #1915 from Frederick888/fix-1914
Oliver Schneider [Tue, 1 Aug 2017 07:35:59 +0000 (09:35 +0200)]
Merge pull request #1915 from Frederick888/fix-1914

Try to fix #1914

6 years agouse BindingAnnotation instead of BindingMode
Frederick Zhang [Tue, 1 Aug 2017 07:11:05 +0000 (17:11 +1000)]
use BindingAnnotation instead of BindingMode

6 years agoFix hints from misc_early
Jay Hardee [Tue, 1 Aug 2017 00:20:27 +0000 (20:20 -0400)]
Fix hints from misc_early

6 years agoUpdate stderr files.
Jay Hardee [Tue, 1 Aug 2017 00:02:53 +0000 (20:02 -0400)]
Update stderr files.

6 years agoMerge remote-tracking branch 'upstream/master' into luckily_literals_love_lints
Jay Hardee [Mon, 31 Jul 2017 23:17:42 +0000 (19:17 -0400)]
Merge remote-tracking branch 'upstream/master' into luckily_literals_love_lints

6 years agoLoose ends and factor out consistency logic.
Jay Hardee [Sun, 30 Jul 2017 22:54:56 +0000 (18:54 -0400)]
Loose ends and factor out consistency logic.

6 years agoUse DigitInfo instead of get_digits().
Jay Hardee [Sun, 30 Jul 2017 22:51:01 +0000 (18:51 -0400)]
Use DigitInfo instead of get_digits().

6 years agodo_lint() shouldn't format warnings.
Jay Hardee [Sun, 30 Jul 2017 22:46:41 +0000 (18:46 -0400)]
do_lint() shouldn't format warnings.

6 years agoImplement method for digit grouping suggestions
Jay Hardee [Sun, 30 Jul 2017 22:37:11 +0000 (18:37 -0400)]
Implement method for digit grouping suggestions

6 years agoAdd some structs for cleaning up lint logic later.
Jay Hardee [Sun, 30 Jul 2017 22:33:15 +0000 (18:33 -0400)]
Add some structs for cleaning up lint logic later.

DigitInfo for storing radix, type, digits of a literal.
WarningType for making warning messages consistent.

6 years agorustfmt
Jay Hardee [Sun, 30 Jul 2017 22:21:38 +0000 (18:21 -0400)]
rustfmt

6 years agoUpdate from upstream.
Matt Kraai [Mon, 24 Jul 2017 13:37:12 +0000 (06:37 -0700)]
Update from upstream.

6 years agoMerge pull request #1909 from Arnavion/fix-manifest-path
Oliver Schneider [Mon, 31 Jul 2017 20:42:17 +0000 (22:42 +0200)]
Merge pull request #1909 from Arnavion/fix-manifest-path

Canonicalize --manifest-path argument before comparing it to cargo metadata.

6 years agoUpdate .travis.yml
Oliver Schneider [Mon, 31 Jul 2017 11:10:04 +0000 (13:10 +0200)]
Update .travis.yml

6 years agoBump the version
Oliver Schneider [Mon, 31 Jul 2017 10:38:29 +0000 (12:38 +0200)]
Bump the version

6 years agoUpdate to latest master
Oliver Schneider [Mon, 31 Jul 2017 10:37:38 +0000 (12:37 +0200)]
Update to latest master

6 years agoMerge remote-tracking branch 'origin/master'
Oliver Schneider [Mon, 31 Jul 2017 07:19:25 +0000 (09:19 +0200)]
Merge remote-tracking branch 'origin/master'

6 years agoCanonicalize --manifest-path argument before comparing it to cargo metadata.
Arnavion [Fri, 28 Jul 2017 22:22:31 +0000 (15:22 -0700)]
Canonicalize --manifest-path argument before comparing it to cargo metadata.

Before this change, a relative path like `--manifest-path=./Cargo.toml` would
fail to find a matching package in the cargo metadata. With this change,
both the argument and the cargo metadata path are canonicalized before
comparison.

6 years agoBump the version
Oliver Schneider [Fri, 28 Jul 2017 07:23:03 +0000 (09:23 +0200)]
Bump the version

6 years agoRustup gets rid of false positives
Oliver Schneider [Fri, 28 Jul 2017 07:08:09 +0000 (09:08 +0200)]
Rustup gets rid of false positives

6 years agoMerge pull request #1896 from Arnavion/fix-workspace
Oliver Schneider [Thu, 27 Jul 2017 13:21:09 +0000 (15:21 +0200)]
Merge pull request #1896 from Arnavion/fix-workspace

Fix logic that determines closest parent crate when invoked from a subdirectory.

6 years agoFix typo in previous commit
Oliver Schneider [Thu, 27 Jul 2017 11:37:21 +0000 (13:37 +0200)]
Fix typo in previous commit

6 years agoWrong placement of inner attribute in previous commit
Oliver Schneider [Thu, 27 Jul 2017 11:35:34 +0000 (13:35 +0200)]
Wrong placement of inner attribute in previous commit

6 years agoRustc doesn't generate expansion info for `cfg!`
Oliver Schneider [Thu, 27 Jul 2017 11:04:27 +0000 (13:04 +0200)]
Rustc doesn't generate expansion info for `cfg!`

6 years agoFix logic that determines closest parent crate when invoked from a subdirectory.
Arnavion [Thu, 27 Jul 2017 07:04:17 +0000 (00:04 -0700)]
Fix logic that determines closest parent crate when invoked from a subdirectory.

The previous logic incorrectly matches the deepest child of the current
directory that is a crate.

6 years agoBump the version
Oliver Schneider [Mon, 24 Jul 2017 14:29:47 +0000 (16:29 +0200)]
Bump the version

6 years agoGet rid of double double colons
Oliver Schneider [Mon, 24 Jul 2017 14:28:41 +0000 (16:28 +0200)]
Get rid of double double colons

6 years agoMerge pull request #1899 from rust-lang-nursery/ui_test_changes
Oliver Schneider [Mon, 24 Jul 2017 14:25:54 +0000 (16:25 +0200)]
Merge pull request #1899 from rust-lang-nursery/ui_test_changes

Fix ui tests

6 years agoMerge pull request #1903 from kraai/fix-build
Oliver Schneider [Mon, 24 Jul 2017 14:20:35 +0000 (16:20 +0200)]
Merge pull request #1903 from kraai/fix-build

Set show_code_when_inline to true

6 years agoSet show_code_when_inline to true
Matt Kraai [Mon, 24 Jul 2017 13:37:12 +0000 (06:37 -0700)]
Set show_code_when_inline to true

Fixes #1902

6 years agoUse if let over match.
Jay Hardee [Sat, 22 Jul 2017 23:54:44 +0000 (19:54 -0400)]
Use if let over match.

6 years agoFix lint descriptions.
Jay Hardee [Sat, 22 Jul 2017 23:49:47 +0000 (19:49 -0400)]
Fix lint descriptions.

6 years agoAdd lint for digit grouping.
Jay Hardee [Wed, 19 Jul 2017 23:56:32 +0000 (19:56 -0400)]
Add lint for digit grouping.

6 years agoFix ui tests
Oliver Schneider [Fri, 21 Jul 2017 08:40:23 +0000 (10:40 +0200)]
Fix ui tests

7 years agoBump the version
Oliver Schneider [Sun, 16 Jul 2017 17:48:55 +0000 (19:48 +0200)]
Bump the version

7 years agoMerge pull request #1883 from Manishearth/stash
Oliver Schneider [Sun, 16 Jul 2017 17:47:16 +0000 (19:47 +0200)]
Merge pull request #1883 from Manishearth/stash

Fix various needless_range_loop false positives

7 years agoFix path in cargo.toml, which was accepted by previous cargo versions
Oliver Schneider [Sun, 16 Jul 2017 17:46:06 +0000 (19:46 +0200)]
Fix path in cargo.toml, which was accepted by previous cargo versions

7 years agoFix various needless_range_loop false positives
Oliver Schneider [Mon, 10 Jul 2017 13:30:28 +0000 (15:30 +0200)]
Fix various needless_range_loop false positives

7 years agoUpdate rustc output
Oliver Schneider [Mon, 10 Jul 2017 13:29:29 +0000 (15:29 +0200)]
Update rustc output

7 years agoMerge pull request #1888 from kraai/fix-build
Oliver Schneider [Sun, 16 Jul 2017 17:21:33 +0000 (19:21 +0200)]
Merge pull request #1888 from kraai/fix-build

Use token_to_string instead of binop_to_string

7 years agoCreate LICENSE
Manish Goregaokar [Thu, 13 Jul 2017 21:10:30 +0000 (14:10 -0700)]
Create LICENSE

7 years agoUse token_to_string instead of binop_to_string
Matt Kraai [Thu, 13 Jul 2017 15:27:57 +0000 (08:27 -0700)]
Use token_to_string instead of binop_to_string

Fixes #1887