Commit Graph

2767 Commits

Author SHA1 Message Date
Andre Bogus
f515d7bb67 Change all links to reflect the move to rust-lang-nursery 2017-08-06 23:10:55 +02:00
Andre Bogus
878333fd6c Bump the version 2017-08-06 22:50:19 +02:00
Andre Bogus
0670d0b59b fixing dogfood 2017-08-06 11:09:53 +02:00
llogiq
4bb2d61b4a Merge pull request #1929 from Frederick888/fix-1928
Try to fix #1928
2017-08-06 08:57:32 +02:00
Frederick Zhang
4de37160bb fix ConstFloat usage 2017-08-06 15:06:21 +10:00
Oliver Schneider
21a46c21c6 Merge pull request #1913 from rust-lang-nursery/while_let_loop
Find binding or assignment within outer loop
2017-08-04 10:16:52 +02:00
Andre Bogus
76ca4dca85 unify checks into single visitor, fix block walk 2017-08-04 07:48:43 +02:00
Andre Bogus
3b7f3dc8e7 WIP: Find binding or assignment within outer loop 2017-08-03 22:11:58 +02:00
Martin Carton
75faed13b4 Merge pull request #1922 from rust-lang-nursery/compiletest_update
Update to latest compiletest version
2017-08-02 19:51:59 +02:00
Oliver Schneider
9b3ea4264f Update to latest compiletest version 2017-08-02 18:07:05 +02:00
Oliver Schneider
49b00ec440 Merge pull request #1919 from rust-lang-nursery/ui
Move all our tests back to ui tests
2017-08-02 18:03:35 +02:00
Oliver Schneider
b1eec6b402 Remove all references to clippy_tests 2017-08-02 17:24:07 +02:00
Oliver Schneider
70cc9509c1
Revert "Update contribution instructions to the new system"
This reverts commit 5ed2066dca.
2017-08-02 12:46:06 +02:00
Oliver Schneider
74c776585c Move all our tests back to ui tests 2017-08-01 17:54:21 +02:00
Oliver Schneider
5595027018 Merge pull request #1869 from rust-lang-nursery/new_lint
Lint authoring tool
2017-08-01 16:05:11 +02:00
Oliver Schneider
45bb3ec072 Produce backtrace on travis 2017-08-01 15:40:57 +02:00
Oliver Schneider
19a9441f85 Update to latest rustc diagnostic output 2017-08-01 13:11:48 +02:00
Oliver Schneider
6bdb597a9f Fix some more dogfood issues 2017-08-01 13:05:57 +02:00
Oliver Schneider
a5fe4bed0e
The lint doesn't improve perf (yet) 2017-08-01 12:55:53 +02:00
Oliver Schneider
7102442a4b
Use the authoring tool to create a new lint 2017-08-01 12:55:52 +02:00
Oliver Schneider
3a61b452a2
Create a lint authoring helper (generates matching code) 2017-08-01 12:55:52 +02:00
Oliver Schneider
86d6cec138 Fix the config regex for the wiki generator 2017-08-01 10:33:16 +02:00
Oliver Schneider
5864072eca Run rustfmt 2017-08-01 10:19:49 +02:00
Oliver Schneider
deed00a0a4
Bump the version 2017-08-01 10:19:18 +02:00
Oliver Schneider
c9d9619eed update_lints.sh has a different opinion on ordering things 2017-08-01 10:18:56 +02:00
Oliver Schneider
b4d70c9420 Merge pull request #1900 from jayhardee9/luckily_literals_love_lints
Add lints for digit grouping.
2017-08-01 10:15:29 +02:00
Oliver Schneider
9d8d2d87c3 More autoclippyification 2017-08-01 09:55:17 +02:00
Oliver Schneider
4fa6f83708 Clippy fixes itself 2017-08-01 09:45:36 +02:00
Oliver Schneider
a1c3870c4e Merge pull request #1915 from Frederick888/fix-1914
Try to fix #1914
2017-08-01 09:35:59 +02:00
Frederick Zhang
9539df06c6 use BindingAnnotation instead of BindingMode 2017-08-01 17:17:38 +10:00
Jay Hardee
9b78086ab3 Fix hints from misc_early 2017-07-31 20:20:27 -04:00
Jay Hardee
5dbdfc1836 Update stderr files. 2017-07-31 20:02:53 -04:00
Jay Hardee
500857c944 Merge remote-tracking branch 'upstream/master' into luckily_literals_love_lints 2017-07-31 19:17:42 -04:00
Jay Hardee
06fd8784d7 Loose ends and factor out consistency logic. 2017-07-31 19:06:51 -04:00
Jay Hardee
3b56965242 Use DigitInfo instead of get_digits(). 2017-07-31 19:06:51 -04:00
Jay Hardee
a6cb1189dd do_lint() shouldn't format warnings. 2017-07-31 19:06:51 -04:00
Jay Hardee
471b6811d8 Implement method for digit grouping suggestions 2017-07-31 19:06:51 -04:00
Jay Hardee
fbbd788799 Add some structs for cleaning up lint logic later.
DigitInfo for storing radix, type, digits of a literal.
WarningType for making warning messages consistent.
2017-07-31 19:06:50 -04:00
Jay Hardee
017b77ae05 rustfmt 2017-07-31 19:06:50 -04:00
Matt Kraai
937a0aa20a Update from upstream. 2017-07-31 19:06:23 -04:00
Oliver Schneider
f1fa1768a2 Merge pull request #1909 from Arnavion/fix-manifest-path
Canonicalize --manifest-path argument before comparing it to cargo metadata.
2017-07-31 22:42:17 +02:00
Oliver Schneider
dfbc8990eb Update .travis.yml 2017-07-31 13:10:04 +02:00
Oliver Schneider
41c96908cc
Bump the version 2017-07-31 12:38:29 +02:00
Oliver Schneider
9967e9aacc Update to latest master 2017-07-31 12:37:38 +02:00
Oliver Schneider
c518847c8a
Merge remote-tracking branch 'origin/master' 2017-07-31 09:19:25 +02:00
Arnavion
d3bdec216b 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.
2017-07-28 15:22:31 -07:00
Oliver Schneider
398c688afa
Bump the version 2017-07-28 09:23:03 +02:00
Oliver Schneider
bac8b6f1de Rustup gets rid of false positives 2017-07-28 09:08:09 +02:00
Oliver Schneider
9c731e8237 Merge pull request #1896 from Arnavion/fix-workspace
Fix logic that determines closest parent crate when invoked from a subdirectory.
2017-07-27 15:21:09 +02:00
Oliver Schneider
065974c8ae Fix typo in previous commit 2017-07-27 13:37:21 +02:00