Commit graph

1501 commits

Author SHA1 Message Date
mcarton
dd99a88289
Dogfood inside if_let_chain! 2016-06-10 00:09:17 +02:00
mcarton
489576437d
Cleanup dependencies and features 2016-06-10 00:09:17 +02:00
mcarton
d85b8062e3
Format all if_let_chain consistently 2016-06-10 00:09:17 +02:00
mcarton
44cb6106a7
Cleanup trailing space 2016-06-10 00:08:14 +02:00
mcarton
11665a0d79
Dogfood 2016-06-10 00:08:14 +02:00
mcarton
90453fd893
Run rustfmt
Only partially apply suggestions.
2016-06-10 00:08:14 +02:00
mcarton
cca6eb2e2b
Cleanup 2016-06-10 00:08:14 +02:00
llogiq
e6832317fa Merge pull request #999 from Manishearth/whitelist
Some small fixes
2016-06-10 00:04:50 +02:00
mcarton
e9360f7675
Fix suggestions for REVERSE_RANGE_LOOP 2016-06-09 23:34:19 +02:00
mcarton
3ae39145fc
Fix false-positive in LET_AND_RETURN
If the declaration has a type, it might be required for coercion to
happen.
2016-06-09 23:34:16 +02:00
mcarton
ce2b96abe9
Fix yet another FP in USELESS_LET_IF_SEQ
The block expression before the assignment must be `None`.
2016-06-09 23:33:38 +02:00
mcarton
c5affa2efc
Whitelist Nan in DOC_MARKDOWN 2016-06-09 23:33:28 +02:00
Manish Goregaokar
8e50e500a6 Merge pull request #996 from Manishearth/feature
Automatically defines the `clippy` feature
2016-06-09 00:54:32 -07:00
Manish Goregaokar
8411c5eb4c Merge pull request #997 from carols10cents/include-consts
Include `consts` in the approx_consts lint for easier copypasting
2016-06-08 20:02:44 -07:00
Carol (Nichols || Goulding)
8e1dc0481c Include consts in the approx_consts lint for easier copypasting
If you try to use `f64::PI`, it won't work-- you need to use
`f64::consts::PI`, so suggest that in the lint message.
2016-06-08 19:58:29 -04:00
mcarton
d7ba66bf44
Automatically defines the clippy feature 2016-06-08 21:53:58 +02:00
llogiq
94cc344b07 Merge pull request #993 from Manishearth/rustup
Rustup to *rustc 1.11.0-nightly (763f9234b 2016-06-06)*
2016-06-08 12:32:36 +02:00
mcarton
11ea3b8be9
Bump to 0.0.75 2016-06-08 12:23:33 +02:00
mcarton
3415a18feb
Rustup to *1.11.0-nightly (763f9234b 2016-06-06)* 2016-06-08 12:21:50 +02:00
llogiq
f4726c0ad8 Merge pull request #983 from Manishearth/fix-tests
Fix wrong tests and improve some other
2016-06-07 18:42:46 +02:00
mcarton
35a22bc3f4
Bump compiletest_rs to 0.2 2016-06-07 18:33:41 +02:00
mcarton
1f419a2986
Add missing suggestions and help message to tests 2016-06-07 18:33:24 +02:00
mcarton
dd3fd41a03
Use span_suggestion for WHILE_LET_ON_ITERATOR 2016-06-07 18:32:40 +02:00
mcarton
3df32cc723
Fix span in REVERSE_RANGE_LOOP’s suggestion 2016-06-07 17:58:52 +02:00
mcarton
5b09501d61
Fix typo in REVERSE_RANGE_LOOP’s suggestion 2016-06-07 17:49:13 +02:00
mcarton
65c4e391ee Fix wrong tests and improve some other 2016-06-07 17:32:36 +02:00
mcarton
1aab0e6729 Bump to 0.0.74 2016-06-07 12:22:36 +02:00
Martin Carton
e4a5a53c20 Merge pull request #988 from oli-obk/metadata3
simply parse unknown json-strings as strings instead of erroring
2016-06-06 16:54:24 +02:00
Oliver Schneider
8d5524f1da
clippy should work on all systems 2016-06-06 16:43:58 +02:00
Oliver Schneider
a81181b758
don't abort after successfully linting a target 2016-06-06 11:28:09 +02:00
Oliver Schneider
a3f7fea36c
simply parse unknown json-strings as strings instead of erroring 2016-06-06 11:03:15 +02:00
Manish Goregaokar
a2c427470b Merge pull request #986 from Manishearth/disable-wiki-link
Add environment variable to deactivate wiki links
2016-06-06 02:31:28 +05:30
mcarton
a7a6c0461d
Add environment variable to deactivate wiki links 2016-06-05 22:03:02 +02:00
Martin Carton
24dc8377df Merge pull request #987 from Manishearth/fix-985
Fix false-positive in `USELESS_LET_IF_SEQ`
2016-06-05 21:56:28 +02:00
mcarton
8497e3bacb
Bump to 0.0.73 2016-06-05 21:47:05 +02:00
mcarton
158183adf5
Fix false-positive in USELESS_LET_IF_SEQ 2016-06-05 21:46:48 +02:00
llogiq
3436699ed6 Merge pull request #984 from Manishearth/fix-swap
Fix wrong suggestion with `MANUAL_SWAP` and slices
2016-06-05 21:04:03 +02:00
mcarton
7bc7c675f2 Cleanup, use matches! some more 2016-06-05 20:46:42 +02:00
mcarton
7211df5a17 Remove useless if_let_chain 2016-06-05 20:46:27 +02:00
mcarton
9f70d04000 Fix wrong suggestion with MANUAL_SWAP and slices 2016-06-05 20:19:00 +02:00
Manish Goregaokar
d325775468 Merge pull request #982 from Manishearth/fix-swap
Fix wrong suggestion in `MANUAL_SWAP`
2016-06-05 19:33:05 +05:30
mcarton
bdd6d2c35e Fix wrong suggestion in MANUAL_SWAP 2016-06-05 15:47:57 +02:00
Martin Carton
0e647b0e82 Merge pull request #980 from dtolnay/release
Release 0.0.72
2016-06-04 23:51:03 +02:00
David Tolnay
35934befbb Release 0.0.72 2016-06-04 14:31:24 -07:00
llogiq
66c03f980e Merge pull request #962 from Manishearth/fix-doc
Fix DOC_MARKDOWN and multiline links and quotes
2016-06-04 09:24:39 +02:00
llogiq
7944fa811b Merge pull request #979 from Manishearth/fx-975
Correctly check for variable use in `useless_let_if_seq`
2016-06-03 21:42:41 +02:00
mcarton
5c2a10d703 Correctly check for variable use in useless_let_if_seq 2016-06-03 19:35:39 +02:00
Martin Carton
d9c49b205d Merge pull request #978 from Manishearth/fx-977
Make new_without_default ignore const fns
2016-06-03 19:19:23 +02:00
Manish Goregaokar
bf4ce86e9e
Make new_without_default ignore const fns; fixes #977 2016-06-03 20:17:39 +05:30
Martin Carton
d7df882fa0 Merge pull request #974 from oli-obk/metadata2
process more kinds of metadata
2016-06-02 17:46:52 +02:00