Commit graph

2172 commits

Author SHA1 Message Date
Pascal Hertleif
8cbf548f7e Add suggestions to EXPLICIT_[INTO_]ITER_LOOP
Also reduces the highlighted span to the expr containing the
`.[into_]iter()` call (so the suggestion is probably applicable by
rustfix.)

Fixes #1484
2017-01-28 14:02:49 +01:00
Oliver Schneider
d825f194fd version bump 2017-01-27 10:14:15 +01:00
Oliver Schneider
34399d4508 Merge pull request #1477 from tomprince/support-exclusive-patterns
Fix #1476: Add support for exclusive pattern matches.
2017-01-27 09:14:36 +01:00
Tom Prince
a140c3c1bf Remove unused import. 2017-01-26 15:41:00 -07:00
Tom Prince
3e03b5d1a7 Fix #1476: Add support for exclusive pattern matches. 2017-01-26 15:32:34 -07:00
llogiq
4ea0f72a15 Merge pull request #1471 from Manishearth/serde
remove rustc-serialize dependency and factor `util::cargo` out into a crate
2017-01-26 21:22:45 +01:00
Martin Carton
c04eaf76d6 Merge pull request #1470 from oli-obk/allow_multiline_config
allow linebreaks in parsed wiki script
2017-01-26 20:40:49 +01:00
Oliver Schneider
2c69e9c324 use released version of serde instead of release candidates 2017-01-26 11:36:04 +01:00
Oliver Schneider
4a70a46d2d
run rustfmt 2017-01-26 11:31:26 +01:00
Oliver Schneider
26e8558d8a
remove rustc-serialize dependency and factor util::cargo out into a crate 2017-01-26 11:31:26 +01:00
Oliver Schneider
db02acd5ed allow linebreaks in parsed wiki script 2017-01-26 11:28:51 +01:00
llogiq
bc497a6262 Merge pull request #1465 from Manishearth/1464
Use `span_suggestion` in the `precedence` lint
2017-01-22 16:32:37 +01:00
mcarton
b784f0d736
Use span_suggestion in the precedence lint 2017-01-22 15:00:10 +01:00
Martin Carton
276ad246f1 Merge pull request #1462 from Manishearth/111
Bump to 0.0.111
2017-01-21 20:58:15 +01:00
mcarton
a99f8a1726 Bump to 0.0.111 2017-01-21 20:43:51 +01:00
Martin Carton
10c541255f Merge pull request #1460 from killercup/rustup/2017-01-20
Rustup to nightly from 2017-01-20
2017-01-21 20:40:07 +01:00
Pascal Hertleif
b228434036 Rustfmtup to 0.7.1 2017-01-21 18:04:59 +01:00
Pascal Hertleif
6f103de164 Rustup to nightly from 2017-01-20
Adjust `multispan_sugg` to rust-lang/rust#38955
2017-01-21 17:20:01 +01:00
mcarton
57d932062f
Add Clippy to the development-tools::cargo-plugins category 2017-01-20 19:36:20 +01:00
Martin Carton
e3b5d46cbe Merge pull request #1457 from shepmaster/patch-1
Add categories to Cargo.toml
2017-01-20 19:28:23 +01:00
mcarton
83373c55bd
Bump to 0.0.110 2017-01-20 19:24:27 +01:00
mcarton
48381d85f5
Add badges to Cargo.toml 2017-01-20 19:17:52 +01:00
mcarton
426660f00c
Fix rustfmt 2017-01-20 19:09:04 +01:00
Jake Goulding
ddc68433a3 Add categories to Cargo.toml 2017-01-20 12:43:50 -05:00
Oliver Schneider
0397c6ee9a
publish 2017-01-19 17:10:57 +01:00
llogiq
814cb11c7d Merge pull request #1451 from Mrmaxmeier/rustup-2017-01-17
Rustup to rustc 1.16.0-nightly (c07a6ae77 2017-01-17)
2017-01-19 07:03:39 +01:00
Mrmaxmeier
84c57ad221 rustup to rustc 1.16.0-nightly (c07a6ae77 2017-01-17) 2017-01-18 21:35:38 +01:00
Oliver Schneider
713da45906
apply rustfmt 2017-01-17 19:30:32 +01:00
Oliver Schneider
7b836dd27c
become rustfmt resistant 2017-01-17 19:27:52 +01:00
Oliver Schneider
25100a8299
fix build 2017-01-17 19:23:32 +01:00
Andre Bogus
630e0ef968 Merge branch 'master' of https://github.com/Manishearth/rust-clippy 2017-01-17 16:12:26 +01:00
Andre Bogus
27d47f970a rustfmt tests to fix build 2017-01-17 16:12:09 +01:00
llogiq
d0b296cb6f Merge pull request #1447 from Ms2ger/toml
Update toml version.
2017-01-17 12:52:15 +01:00
Ms2ger
687e5717ba Update toml version. 2017-01-17 12:13:17 +01:00
Oliver Schneider
219da6d736 Merge pull request #1444 from Manishearth/or_else_method
Extend or_fun_call to also cover methods
2017-01-15 14:38:51 +01:00
llogiq
6d22aa42e0 Merge pull request #1445 from sinkuu/fix_closure_return
Use closure body span for needless_return lint (fixes #1405)
2017-01-15 06:20:54 +01:00
sinkuu
cdfe002ee1 Use closure body span (fixes #1405) 2017-01-15 13:16:02 +09:00
Andre Bogus
94c97d2ec9 formatting 2017-01-15 01:12:16 +01:00
Andre Bogus
dbde3b8e1c dogfood fallout 2017-01-15 00:33:29 +01:00
Andre Bogus
b764b2a7aa extend or_fun_call lint to cover methods 2017-01-15 00:31:20 +01:00
Martin Carton
57e056dfc7 Merge pull request #1443 from Manishearth/deprecate_efs
deprecate extend_from_slice lint
2017-01-14 14:49:04 +01:00
Andre Bogus
2fdb6e4d1a deprecate extend_from_slice lint 2017-01-14 14:39:41 +01:00
Martin Carton
e3605dd29b Merge pull request #1441 from Manishearth/rustup
rustup to 2017-01-12
2017-01-13 18:08:06 +01:00
Oliver Schneider
d944d7df9a
rustup to 2017-01-12 2017-01-13 17:04:56 +01:00
Oliver Schneider
d93b96949d
update changelog for 0.107 2017-01-11 15:22:51 +01:00
Oliver Schneider
1f73952dec Merge pull request #1437 from upsuper/upgrade-regex
Upgrade regex to 0.2
2017-01-11 15:17:43 +01:00
Xidorn Quan
00e6d43a07 Upgrade regex to 0.2 2017-01-11 22:44:46 +11:00
Oliver Schneider
3cc5596466 Merge pull request #1433 from sinkuu/ref
Don't lint needless_borrow when matching `&&mut` by `&ref`
2017-01-10 17:29:19 +01:00
sinkuu
c9091b71a1 Don't lint when matching &&mut by &ref (Fix #1432) 2017-01-11 00:42:58 +09:00
llogiq
d6ab240d06 Merge pull request #1430 from oli-obk/false_false_positive
FOR_KV_MAP can now lint on mutable maps due to values_mut()
2017-01-10 10:21:05 +01:00