Commit graph

1537 commits

Author SHA1 Message Date
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
Oliver Schneider
078cc68c52
no indexing 2016-06-02 17:39:28 +02:00
Oliver Schneider
7bb8ba4631
process more kinds of metadata 2016-06-02 17:29:25 +02:00
Martin Carton
b33abd3876 Merge pull request #972 from Manishearth/fix-953
only lint `new_without_default` for public items
2016-06-02 02:14:51 +02:00
Andre Bogus
49982036fc only lint new_without_default for public items
This fixes #953.
2016-06-01 23:35:14 +02:00
mcarton
efeba8eec3 Fix CHANGELOG 2016-06-01 00:04:47 +02:00
Martin Carton
5f0f64c82d Merge pull request #970 from Manishearth/rustup
s/PatKind::Ident/PatKind::Binding/g
2016-05-31 23:54:02 +02:00
mcarton
5c51a2452d Bump to 0.0.71
Rustup to *rustc 1.10.0-nightly (7bddce693 2016-05-27)*
2016-05-31 23:36:42 +02:00
Andre Bogus
2811dd64ec added missing PatKind::Path + tests 2016-05-31 23:35:42 +02:00
Andre Bogus
e18dc948c7 another one. Somehow I failed to correctly commit 2016-05-31 23:30:49 +02:00
Andre Bogus
1b112f96b8 added mcarton's test suggestion 2016-05-31 23:30:49 +02:00
Andre Bogus
46491443ff dogfood error in consts fixed 2016-05-31 23:30:49 +02:00
Andre Bogus
ef5db37d9d additional error in copies test annotated 2016-05-31 23:30:49 +02:00
Andre Bogus
6aa37e57a2 s/PatKind::Ident/PatKind::Binding/g 2016-05-31 23:30:49 +02:00
llogiq
762aff2519 Merge pull request #960 from oli-obk/libbin
don't require `cargo clippy` to pass a `--lib` or `--bin x` argument
2016-05-31 16:53:37 +02:00