Commit Graph

2861 Commits

Author SHA1 Message Date
Oliver Schneider
b6609ead72 Merge pull request #1903 from kraai/fix-build
Set show_code_when_inline to true
2017-07-24 16:20:35 +02:00
Matt Kraai
de3bdf5826 Set show_code_when_inline to true
Fixes #1902
2017-07-24 06:37:12 -07:00
Jay Hardee
f17def5801 Use if let over match. 2017-07-22 19:54:44 -04:00
Jay Hardee
83a6dbc828 Fix lint descriptions. 2017-07-22 19:49:47 -04:00
Jay Hardee
2abd1f73d9 Add lint for digit grouping. 2017-07-22 17:49:45 -04:00
Oliver Schneider
f889ba95d3 Fix ui tests 2017-07-21 10:40:23 +02:00
Oliver Schneider
8a1510013d
Bump the version 2017-07-16 19:48:55 +02:00
Oliver Schneider
006b249c84 Merge pull request #1883 from Manishearth/stash
Fix various needless_range_loop false positives
2017-07-16 19:47:16 +02:00
Oliver Schneider
67793af117 Fix path in cargo.toml, which was accepted by previous cargo versions 2017-07-16 19:46:06 +02:00
Oliver Schneider
68948a5654
Fix various needless_range_loop false positives 2017-07-16 19:34:38 +02:00
Oliver Schneider
d24868d036
Update rustc output 2017-07-16 19:34:38 +02:00
Oliver Schneider
c35e85cda8 Merge pull request #1888 from kraai/fix-build
Use token_to_string instead of binop_to_string
2017-07-16 19:21:33 +02:00
Manish Goregaokar
5a99a323e9 Create LICENSE 2017-07-13 14:10:30 -07:00
Matt Kraai
7131fdad38 Use token_to_string instead of binop_to_string
Fixes #1887
2017-07-13 08:27:57 -07:00
Oliver Schneider
e80d883bf1 Run rustfmt 2017-07-10 10:21:21 +02:00
Oliver Schneider
20d83289ae
Bump the version 2017-07-10 10:20:49 +02:00
Oliver Schneider
a82cd77b2b Rustup to *rustc 1.20.0-nightly (d84693b93 2017-07-09)* 2017-07-10 10:17:40 +02:00
Oliver Schneider
fd7dda097b Merge pull request #1871 from uHOOCCOOHu/never_loop_fix
Fix the bug remaining in #1586.
2017-07-05 12:29:43 +02:00
Oliver Schneider
f7dd7697cd Merge pull request #1873 from uHOOCCOOHu/fix-tests
Fix tests.
2017-07-05 12:28:09 +02:00
uHOOCCOOHu
d20c451c2a
Add more test for #1586. 2017-07-05 15:57:30 +08:00
uHOOCCOOHu
14a1a08b5e
Search continue in return expr. 2017-07-05 15:57:29 +08:00
uHOOCCOOHu
a80db63515
Put tests for step_by(0) back. 2017-07-05 15:51:43 +08:00
uHOOCCOOHu
85384afca3
Remove tests using removed feature step_by.
Update test outputs.
2017-07-05 14:14:24 +08:00
Oliver Schneider
e88c29cf34 Merge pull request #1860 from Vurich/master
Allow cargo-clippy to work in subdirectories
2017-07-04 19:32:09 +02:00
Oliver Schneider
01bb0f9e51 ignore needless_lifetimes false positive 2017-07-04 16:07:33 +02:00
Oliver Schneider
1788f7bcde Merge pull request #1847 from Manishearth/nested_while_let
don't lint while_let_on_iterator on nested loops
2017-07-04 16:05:24 +02:00
Oliver Schneider
b8ecdc1cef Merge pull request #1852 from Manishearth/notrans
Use `--emit=metadata` instead of `-Zno-trans`
2017-07-03 09:29:54 +02:00
Oliver Schneider
e56331f33d
Bump the version 2017-07-03 09:23:30 +02:00
Oliver Schneider
1f519f2b64 Merge pull request #1868 from messense/feature/fix-nightly-07-02
Fix compilation on rustc 1.20.0-nightly (067971139 2017-07-02)
2017-07-03 09:22:12 +02:00
messense
b862b9b115
Update windows ui tests 2017-07-03 14:53:52 +08:00
messense
ac70bb60d4
Update ui tests for examples 2017-07-03 12:37:30 +08:00
messense
95f04f80fb
Update ui tests 2017-07-03 12:37:14 +08:00
messense
edadbff4ea
Fix compilation on rustc 1.20.0-nightly (067971139 2017-07-02) 2017-07-03 12:26:03 +08:00
Oliver Schneider
d9b5f795fa Merge pull request #1866 from Manishearth/oli-obk-patch-2
Update compiletest dependency
2017-07-01 17:28:11 +02:00
Oliver Schneider
4e6ec75e4d Update compiletest dependency 2017-07-01 16:22:09 +02:00
Andre Bogus
01a4a1dfd8 fix tests 2017-06-30 02:43:52 +02:00
Oliver Schneider
86b1c93940 Merge pull request #1862 from messense/feature/fix-nightly-06-28
Fix compilation on rustc 1.20.0-nightly (69c65d296 2017-06-28)
2017-06-29 16:54:04 +02:00
Oliver Schneider
23b4ad501f Run rustfmt 2017-06-29 16:07:43 +02:00
Oliver Schneider
5c1fc5d2a3
Bump the version 2017-06-29 16:04:53 +02:00
messense
8ac0388307
Fix compilation on rustc 1.20.0-nightly (69c65d296 2017-06-28) 2017-06-29 21:38:25 +08:00
Vurich
956a98c0c7 Allow cargo-clippy to work in subdirectories 2017-06-29 12:57:28 +02:00
Oliver Schneider
6a2525ccb8 Merge pull request #1536 from CBenoit/master
Add lint `&ref x` patterns that could be just `x`
2017-06-28 18:45:51 +02:00
Oliver Schneider
687fe1e1a9 Merge pull request #1855 from Manishearth/for_loop
Fix for loop detection
2017-06-28 12:41:40 +02:00
Oliver Schneider
d0650ae144 Update for latest master 2017-06-28 11:02:27 +02:00
Oliver Schneider
22dd3eef0b Use --emit=metadata instead of -Zno-trans
fixes #1500
2017-06-26 14:49:30 +02:00
Benoît CORTIER
e9964e762f Improve needless_borrowed_ref lint doc. 2017-06-26 14:42:24 +02:00
Benoît CORTIER
1cae3366ea Add needless borrowed ref lint (WIP). 2017-06-24 12:04:56 +02:00
Andre Bogus
88aa04dfa5 don't lint while_let_on_iterator on nested loops
The problem is with a nested loop, the iterator may well be reused. This
changeset introduces a false negative, when the iterator is initialized
within the outer loop. A further PR could get rid of this false negative
by checking if the iterator is indeed initialized within the outer loop.
2017-06-23 18:29:18 +02:00
Martin Carton
06ec3d310f Merge pull request #1841 from sanxiyn/span-lint-and-sugg
Use span_lint_and_sugg
2017-06-22 10:39:48 +02:00
Seo Sanghyeon
745233f3ab Use span_lint_and_sugg 2017-06-22 03:04:04 +09:00