Commit graph

2229 commits

Author SHA1 Message Date
Ben Boeckel
2cdba9cd85 methods: fix the option_unwrap_used message
It had a hard linewrap in it rather than flowing naturally. This
confused the Vim error matching.
2017-01-30 10:44:52 -05:00
Oliver Schneider
82dd50d0e2 large_enum_variants lint suggests to box variants above a configurable limit 2017-01-30 13:17:56 +01:00
Oliver Schneider
aebdf74e16 correctly check exclusive range patterns for overlap 2017-01-30 12:30:16 +01:00
Martin Carton
f2f6637dda Merge pull request #1486 from killercup/for-loop-suggestions
Add suggestions to `EXPLICIT_[INTO_]ITER_LOOP`
2017-01-28 14:37:59 +01:00
Pascal Hertleif
2357dfe8ee Remove useless part of test 2017-01-28 14:17:47 +01:00
Pascal Hertleif
2ba03c8467 Make Travis' rustfmt happy 2017-01-28 14:17:37 +01:00
Pascal Hertleif
6760b35e57 Increase suggestion tests' context 2017-01-28 14:12:35 +01:00
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