mcarton
507b626b36
Add zero_prefixed_literal
lint
2016-08-23 18:15:12 +02:00
llogiq
cf2b0c8dd6
New cmp_null lint ( fixes #1184 ) ( #1186 )
...
* new cmp_null lint (fixes #1184 )
* adressed comments (still fails)
* fixed tests, dogfood, ran update_lints
2016-08-22 18:29:29 +02:00
mcarton
0474fe27ea
Bump to 0.0.85
2016-08-19 17:41:24 +02:00
Martin Carton
27255bc213
Merge pull request #1174 from oli-obk/bugfix
...
don't lint `unused_attribute` if snippet is shorter than 1 character
2016-08-19 17:37:21 +02:00
Oliver Schneider
6dd003ac39
add regression test
2016-08-19 17:31:14 +02:00
Oliver Schneider
14d2cd0b0a
unused_import
is a valid lint to be changed on use
statements
2016-08-19 17:27:24 +02:00
Oliver Schneider
2d57902a27
don't lint if snippet is shortert than 1 character
...
This happens with various combinations of cfg attributes and macros expansion.
Not linting here is the safe route, as everything else might produce false positives.
2016-08-19 17:27:24 +02:00
mcarton
663d8497aa
Bump to 0.0.84
2016-08-18 21:51:06 +02:00
Martin Carton
5fff9e4ce5
Merge pull request #1176 from birkenfeld/master
...
rustup
2016-08-18 21:49:52 +02:00
Georg Brandl
ff919376a6
rustup
2016-08-18 21:24:35 +02:00
Oliver Schneider
7b717d3152
fallout
2016-08-17 18:35:25 +02:00
Oliver Schneider
59c31d319a
plugin mode still needs to work
2016-08-17 18:26:58 +02:00
Oliver Schneider
4c07c0af57
Merge pull request #1173 from oli-obk/never_rustup
...
rustup for the ! type
2016-08-17 18:10:33 +02:00
Oliver Schneider
e3723cb938
running cargo clippy on a crate that has the clippy plugin enabled errors out due to duplicate lints
2016-08-17 18:09:35 +02:00
Oliver Schneider
0dab78b3e6
unify "test", "bench", "example" and "bin" into one branch
2016-08-17 18:09:35 +02:00
Oliver Schneider
32a0069f67
no println output
2016-08-17 18:09:35 +02:00
Oliver Schneider
6d7269a675
also run clippy on examples
2016-08-17 18:09:35 +02:00
Oliver Schneider
6daa884e4f
version bump and changelog update
2016-08-17 18:07:25 +02:00
Oliver Schneider
40720a61e8
rustup for the ! type
2016-08-17 17:58:15 +02:00
llogiq
c4b37236ba
Merge pull request #1170 from Manishearth/travis-gh-pages
...
Fix Travis not pushing gh-pages for tags
2016-08-17 17:26:00 +02:00
Manish Goregaokar
46267c0964
Merge pull request #1172 from Manishearth/changelog
...
Add missing lints to CHANGELOG
2016-08-17 20:48:02 +05:30
mcarton
4ca16c8564
Add missing lints to CHANGELOG
2016-08-17 17:13:28 +02:00
mcarton
a34beedfe5
Add "DirectX" and "OpenGL" to doc_valid_idents
2016-08-17 15:46:33 +02:00
mcarton
495f4bbf9f
Fix Travis not pushing gh-pages for tags
...
Turns out $TRAVIS_BRANCH is the tag name for tags.
2016-08-17 15:25:21 +02:00
Oliver Schneider
e5e2db7113
Merge pull request #1168 from oli-obk/useless_lint_attributes
...
disallow lint attributes on `use` and `extern crate` items
2016-08-17 12:23:31 +02:00
Oliver Schneider
3ab6ad59c4
disallow lint attributes on use
and extern crate
items
2016-08-17 11:36:04 +02:00
Oliver Schneider
ac16695757
Merge pull request #1143 from birkenfeld/issue-455
...
Lint print!("...\n") (closes #455 )
2016-08-17 11:33:32 +02:00
Manish Goregaokar
3cf82da1ea
Merge pull request #1167 from Manishearth/rustup
...
Rustup to rustc 1.12.0-nightly (197be89f3 2016-08-15)
2016-08-17 09:24:28 +05:30
Manish Goregaokar
f006805c4a
Bump to 0.0.82
2016-08-17 09:20:20 +05:30
Sascha Hanse
9aa7701262
make clippy compile again with the latest nightly after rust-lang/rust@65eb024542
2016-08-17 00:21:58 +02:00
Georg Brandl
ffad9a8c8c
Lint print!("...\n") ( closes #455 )
2016-08-16 20:52:48 +02:00
llogiq
909efec275
Merge pull request #1164 from oli-obk/module_inception
...
lint modules that have the same name as their parent module
2016-08-16 15:02:18 +02:00
Oliver Schneider
b6f320a495
address nits and improve docs
2016-08-16 14:36:48 +02:00
Oliver Schneider
7ee4a9a659
lint modules that have the same name as their parent module
2016-08-16 14:29:21 +02:00
Manish Goregaokar
e12f14f676
Bump to 0.0.81
2016-08-14 09:13:19 +05:30
Manish Goregaokar
e83eac5f42
Merge pull request #1162 from dtolnay/up
...
Update to rustc 1.12.0-nightly (1deb02ea6 2016-08-12)
2016-08-14 09:00:23 +05:30
David Tolnay
95df2d1bf4
Update to rustc 1.12.0-nightly (1deb02ea6 2016-08-12)
2016-08-13 14:23:38 -07:00
Oliver Schneider
4aae2b60bc
Merge pull request #1158 from scurest/evalorder
...
Add lint for reads and writes that depend on evaluation order
2016-08-11 13:41:32 +02:00
scurest
b0a96def09
Add lint for reads and writes that depend on evaluation order
2016-08-11 06:01:40 -05:00
llogiq
ce3be22021
Merge pull request #1151 from oli-obk/clone_ref
...
add suggestions to clone_on_copy
2016-08-09 06:30:25 +02:00
llogiq
8ac99162ea
Merge pull request #1152 from oli-obk/wrong_self_conv_fn_level
...
enable changing wrong_self_convention's lint level at the function level
2016-08-08 21:13:16 +02:00
Manish Goregaokar
4b8f6a0b0f
Merge pull request #1154 from oli-obk/no_dogfood_for_travis
...
don't run clippy on itself twice in travis
2016-08-08 21:48:29 +05:30
Manish Goregaokar
610615b33d
Merge pull request #1153 from oli-obk/too_many_extern_fn_args
...
extern fns often need to adhere to a specific api -> don't suggest api changes
2016-08-08 21:26:00 +05:30
Oliver Schneider
afc95a11ec
travis bump
2016-08-08 17:53:07 +02:00
Oliver Schneider
9207c44bd2
also cache files in clippy_lints, necessary for testing cargo-clippy
2016-08-08 17:45:54 +02:00
Oliver Schneider
dec3250ad6
don't run clippy on itself twice in travis
2016-08-08 17:33:41 +02:00
Oliver Schneider
331afc3246
extern fns often need to adhere to a specific api -> don't suggest api-changes
2016-08-08 17:21:47 +02:00
Oliver Schneider
49f276ec6f
enable changing wrong_self_convention's lint level at the function level
2016-08-08 17:09:36 +02:00
Oliver Schneider
7e67f447ce
add suggestions to clone_on_copy
...
also:
* don't report clone_on_copy when reporting clone_on_double_ref
* don't suggest `((x))`
2016-08-08 16:43:45 +02:00
Manish Goregaokar
ac5abcf593
Merge pull request #1150 from birkenfeld/remove-warning
...
Remove "known problem" that only occurs without MIR.
2016-08-08 17:19:59 +05:30