Commit graph

2189 commits

Author SHA1 Message Date
Mrmaxmeier
2be75ef973 repeat_str feature has been stablilized 2017-02-03 14:16:14 +01:00
Mrmaxmeier
2216a890a6 TyCtxt::map is now called TyCtxt::hir 2017-02-03 14:16:07 +01:00
Martin Carton
b1be0d6457 Merge pull request #1492 from Manishearth/largeEnumVariant
large_enum_variants lint suggests to box variants above a configurable limit
2017-01-31 19:12:43 +01:00
Oliver Schneider
12eeffdf93 place the error checks on the correct lines 2017-01-31 16:00:28 +01:00
Oliver Schneider
909ef37f08 Merge pull request #1490 from Manishearth/excl_range_pat_overlap
correctly check exclusive range patterns for overlap
2017-01-31 12:40:21 +01:00
Oliver Schneider
75f605ccf6 rustfmt 2017-01-31 11:26:18 +01:00
Oliver Schneider
19f119caec fix println message in tests 2017-01-31 11:19:49 +01:00
Oliver Schneider
9bda699c80 improve messages and add suggestions 2017-01-31 08:36:39 +01:00
Oliver Schneider
d9ec55e695 address nits 2017-01-31 08:08:54 +01:00
Martin Carton
cf5b9cb308 Merge pull request #1494 from mathstuf/option-unwrap-used-message
methods: fix the option_unwrap_used message
2017-01-30 20:38:43 +01:00
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