Commit Graph

2401 Commits

Author SHA1 Message Date
Bood Qian
4b4dc0a4d3 Fix lint name in comment too 2017-02-05 11:06:19 +08:00
Martin Carton
3fbaacd768 Merge pull request #1511 from Manishearth/bugfix
fix false negatives introduced in the rustup
2017-02-04 22:37:35 +01:00
Oliver Schneider
d198b99472 fix false negatives introduced in the rustup 2017-02-04 16:59:06 +01:00
Bood Qian
9ace6c7ffc Consider expression with macro for possible missing comma lint 2017-02-04 21:13:36 +08:00
Oliver Schneider
7fbc7c0bb2 version bump 2017-02-04 13:42:13 +01:00
Oliver Schneider
49bf9762c3 Merge pull request #1505 from Mrmaxmeier/rustup-2017-01-31
Rustup to rustc 1.16.0-nightly (24055d0f2 2017-01-31)
2017-02-04 13:37:27 +01:00
Oliver Schneider
384eb82526 don't record elided lifetimes on trait objects 2017-02-04 13:18:51 +01:00
Bood Qian
97301434cd Fix abbreviations in document 2017-02-04 20:11:43 +08:00
Bood Qian
25fd8c6ba1 Shorten lint name for possible missing comma 2017-02-04 20:05:25 +08:00
Bood Qian
cb83a299fa Add test cases for possible missing comma lint 2017-02-04 20:02:53 +08:00
Mrmaxmeier
d68f0797bf Rustup to nightly from 2017-01-31 2017-02-03 14:16:14 +01:00
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
Bood Qian
33577ec3f7 Lint for possible missing comma in an array #1177 2017-02-03 19:10:30 +08: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