Commit Graph

1983 Commits

Author SHA1 Message Date
Martin Carton
276e85b700 Merge pull request #1344 from Manishearth/rustup
[WIP] Rustup to rustc 1.15.0-nightly (0ed951993 2016-11-14)
2016-11-18 13:47:07 +01:00
mcarton
1176242b72 Rustup to rustc 1.15.0-nightly (0ed951993 2016-11-14) 2016-11-18 13:40:53 +01:00
mcarton
7140eac484 Cleanup 2016-11-18 13:40:44 +01:00
Oliver Schneider
f39c6278e1
fix the inspector 2016-11-18 13:21:07 +01:00
mcarton
945c027768
Handle closure with single expression blocks 2016-11-17 19:44:18 +01:00
mcarton
19c5f5394b
Rustup to rustc 1.15.0-nightly (0ed951993 2016-11-14) 2016-11-16 23:05:26 +01:00
Manish Goregaokar
bad26a5aca Merge pull request #1339 from dereckson/patch-1
Recognize quux as a metasyntactic variable
2016-11-10 21:20:13 -08:00
Sébastien Santoro
0e6807e86b Recognize quux as a metasyntactic variable
quux is another metasyntactic variable like foo and so
should be detected by the blacklisted names linter.
2016-11-11 05:57:29 +01:00
Martin Carton
3edf712434 Merge pull request #1337 from oli-obk/master
fix ice in `len_zero` lint when type has no inherent impls at all
2016-11-10 18:51:08 +01:00
Oliver 'ker' Schneider
cfae1e9fda fix ice in len_zero lint when type has no inherent impls at all
fixes #1336
2016-11-10 17:06:39 +01:00
Oliver Schneider
2cfe1e7b64 Merge pull request #1328 from Machtan/master
Add '--version' flag and allow version and help flags when called as 'cargo-clippy'
2016-11-09 10:49:16 +01:00
Jakob Lautrup Nysom
2d9386f86d Remove unnecessary #[allow] 2016-11-09 10:44:55 +01:00
Oliver Schneider
a260e65ead Merge pull request #1312 from devonhollowood/get-unwrap
Implement `get_unwrap` lint
2016-11-09 09:49:20 +01:00
Oliver Schneider
c56b8dff8a Merge pull request #1332 from debris/fixed_1331
fixed #1331
2016-11-09 09:25:18 +01:00
debris
d16cc47ae8 fixed #1331 2016-11-08 21:50:35 +01:00
Machtan
e5a5a95a10 Add '--version' flag and use version and help flags when called as 'cargo-clippy' 2016-11-08 14:28:46 +01:00
Machtan
3800bff4de Add '--version' flag and allow version and help flags when called as 'cargo-clippy' 2016-11-08 13:54:08 +01:00
Oliver Schneider
c687fe73bc Create PUBLISH.md 2016-11-08 11:52:38 +01:00
Oliver 'ker' Schneider
e8783be6f1 version bump 2016-11-08 11:44:55 +01:00
Oliver Schneider
18e031a112 Merge pull request #1327 from oli-obk/master
--sysroot isn't necessary anymore for the outer cargo clippy call
2016-11-08 11:42:33 +01:00
Oliver 'ker' Schneider
6a73c8f8e3 --sysroot isn't necessary anymore for the outer cargo clippy call 2016-11-08 11:35:26 +01:00
Oliver 'ker' Schneider
ea1d432f66 publish 0.97 2016-11-03 21:23:49 +01:00
Oliver Schneider
2b1b91bbff Merge pull request #1321 from EpicatSupercell/master
fixed callback changes from rustc 1.14.0-nightly (7c69b0d5a 2016-11-01)
2016-11-03 21:14:19 +01:00
Epicat Supercell
e25b010847 fixed callback changes from rustc 1.14.0-nightly (7c69b0d5a 2016-11-01) 2016-11-02 21:27:42 +02:00
Devon Hollowood
e94a4d4666 Fix suggestion in get_unwrap lint 2016-11-02 11:48:16 -07:00
Martin Carton
aa8ca9b607 Merge pull request #1317 from oli-obk/cc_attr_used_fixed
mark cyclomatic complexity attribute as used
2016-11-02 18:25:38 +01:00
Oliver Schneider
a56af73fd8
mark cyclomatic complexity attribute as used
fixes #1315
2016-11-02 10:29:57 +01:00
Devon Hollowood
6a14dc7fd4 Remove false positives from get_unwrap lint
HashMap and BTreeMap don't implement `IndexMut`, so we shouldn't lint
for use of `get_mut().unwrap()` for those types.
2016-11-01 17:48:32 -07:00
Devon Hollowood
4e0d182d1d Clean up get_unwrap code 2016-11-01 17:48:18 -07:00
Devon Hollowood
1187d333ec Add tests for get_unwrap lint 2016-11-01 01:08:47 -07:00
Devon Hollowood
c5e270a1aa Small fixes for get_unwrap lint 2016-11-01 01:08:38 -07:00
Devon Hollowood
cfc741405b Run update_lints.py 2016-10-31 23:43:19 -07:00
Devon Hollowood
0680ac3562 Add get_unwrap lint 2016-10-31 23:42:33 -07:00
Manish Goregaokar
0e1f065678 Merge pull request #1311 from gibfahn/if_let_some_result
Add to docs for if_let_some_result
2016-10-31 16:02:17 -07:00
Gibson Fahnestock
c40466e1c2 Add to docs for if_let_some_result 2016-10-31 22:55:22 +00:00
Oliver Schneider
053896b678 Merge pull request #1307 from Kha/partialeq_ne
Implement 'Re-implementing `PartialEq::ne`' lint
2016-10-31 09:06:14 -04:00
Sebastian Ullrich
9314965af0 inspector: fix printing non-local trait refs 2016-10-30 15:00:59 -04:00
Sebastian Ullrich
8664d03ec6 implement 'Re-implementing PartialEq::ne' lint
closes #86
2016-10-30 15:00:59 -04:00
Oliver Schneider
8b2e80b47b Merge pull request #1299 from Manishearth/clippy-toml
Search for `clippy.toml` recursively
2016-10-30 14:35:32 -04:00
Oliver Schneider
20b7559558 Merge pull request #1296 from Manishearth/features
Be more helping, less helpful and bring convenience back for the dead
2016-10-30 14:33:39 -04:00
Sebastian Ullrich
3e536ff369 fix dogfood.sh 2016-10-30 14:25:06 -04:00
Sebastian Ullrich
90f71be4e9 factor out is_automatically_derived util fn 2016-10-30 14:25:06 -04:00
Oliver Schneider
8630376e71 Merge pull request #1305 from d-dorazio/1289-lint-for-ignored-argument-in-result-option
Add lint for redundant pattern matching in if let for Result/Option
2016-10-30 14:20:54 -04:00
d-dorazio
d213040381 Add lint for redundant pattern matching in iflet for Result/Option 2016-10-30 15:43:46 +01:00
Martin Carton
502416fa78 Merge pull request #1301 from devonhollowood/wrong-self-convention-fix
Fix false positive for `wrong_self_convention`
2016-10-27 10:38:15 +02:00
Devon Hollowood
3a0d342a33 Fix false positive for wrong_self_convention 2016-10-27 01:11:34 -07:00
mcarton
d52af53e04
Search for clippy.toml recursively 2016-10-25 19:41:24 +02:00
mcarton
ec893a198f
Fix small nits on the help message 2016-10-25 15:09:56 +02:00
Martin Carton
49c2c2c628 Merge pull request #1297 from oli-obk/deep_code_inspection
fix some doc issues for clippy_dump
2016-10-24 17:49:10 +02:00
Oliver Schneider
233459ea33
clean up docs for clippy_dump 2016-10-24 16:30:22 +02:00