]>
git.lizzy.rs Git - rust.git/log
Manish Goregaokar [Wed, 28 Dec 2016 20:32:04 +0000 (12:32 -0800)]
Merge pull request #1406 from theemathas/double-parens
Add double_parens lint
Theemathas Chirananthavat [Wed, 28 Dec 2016 20:06:43 +0000 (12:06 -0800)]
Update lint documentation using util/update_lints.py
Theemathas Chirananthavat [Wed, 28 Dec 2016 20:04:46 +0000 (12:04 -0800)]
Fix compile-fail tests by allowing double_parens.
Theemathas Chirananthavat [Wed, 28 Dec 2016 20:03:49 +0000 (12:03 -0800)]
Implement the double_parens lint.
Theemathas Chirananthavat [Wed, 28 Dec 2016 18:54:23 +0000 (10:54 -0800)]
Add skeleton for double_parens lint.
Theemathas Chirananthavat [Wed, 28 Dec 2016 18:53:33 +0000 (10:53 -0800)]
Add test for double_parens lint.
Martin Carton [Sun, 25 Dec 2016 17:24:39 +0000 (18:24 +0100)]
Merge pull request #1400 from oli-obk/needed_needless_lifetime
support impl trait for needless lifetimes
Oliver Schneider [Sun, 25 Dec 2016 16:49:39 +0000 (17:49 +0100)]
fix rustfmt
Martin Carton [Sun, 25 Dec 2016 16:47:42 +0000 (17:47 +0100)]
Merge pull request #1394 from Manishearth/absurd_extreme_comparisons_false_positive
fix absurd extreme comparisons false positive
Manish Goregaokar [Thu, 22 Dec 2016 15:38:31 +0000 (07:38 -0800)]
Merge pull request #1399 from Manishearth/the_ice_was_a_lie
fix an ice related to associated types
Oliver Schneider [Thu, 22 Dec 2016 14:51:59 +0000 (15:51 +0100)]
support impl trait for needless lifetimes
Oliver Schneider [Thu, 22 Dec 2016 13:16:07 +0000 (14:16 +0100)]
fix an ice related to associated types
fixes #1341
Oliver Schneider [Wed, 21 Dec 2016 15:49:53 +0000 (16:49 +0100)]
fix absurd extreme comparisons false positive
fixes #1387
Oliver Schneider [Wed, 21 Dec 2016 14:50:32 +0000 (15:50 +0100)]
Merge pull request #1374 from Nemo157/allow_deprecated
Allow `allow(deprecated)` attribute on `use` items
Oliver Schneider [Wed, 21 Dec 2016 14:47:12 +0000 (15:47 +0100)]
Merge branch 'master' into allow_deprecated
Oliver Schneider [Wed, 21 Dec 2016 14:46:00 +0000 (15:46 +0100)]
Merge pull request #1393 from oli-obk/linkedlists
Don’t warn for types used in trait implementation
Oliver Schneider [Wed, 21 Dec 2016 14:42:20 +0000 (15:42 +0100)]
Don’t warn for types used in trait implementation
Oliver Schneider [Wed, 21 Dec 2016 12:37:27 +0000 (13:37 +0100)]
Merge pull request #1206 from Manishearth/pub_enum_variant_names
split pub_enum_variant_names to new lint
Oliver Schneider [Wed, 21 Dec 2016 12:30:57 +0000 (13:30 +0100)]
split pub_enum_variant_names to new lint
Oliver Schneider [Wed, 21 Dec 2016 12:26:39 +0000 (13:26 +0100)]
Merge pull request #1392 from oli-obk/rustfmt
also run rustfmt on clippy-lints
Oliver Schneider [Wed, 21 Dec 2016 12:21:35 +0000 (13:21 +0100)]
fix travis
Oliver Schneider [Wed, 21 Dec 2016 12:12:17 +0000 (13:12 +0100)]
every line needs to be its own string
Oliver Schneider [Wed, 21 Dec 2016 11:50:39 +0000 (12:50 +0100)]
shorten deprecated lints line length
Oliver Schneider [Wed, 21 Dec 2016 11:40:56 +0000 (12:40 +0100)]
autogenerated functions are ignored by rustfmt
Oliver Schneider [Wed, 21 Dec 2016 11:36:25 +0000 (12:36 +0100)]
run rustfmt on clippy, not only on clippy_lints
Oliver Schneider [Wed, 21 Dec 2016 11:30:41 +0000 (12:30 +0100)]
manually fix the overlong lines
Oliver Schneider [Wed, 21 Dec 2016 11:14:54 +0000 (12:14 +0100)]
function definition style simplification
Oliver Schneider [Wed, 21 Dec 2016 09:25:14 +0000 (10:25 +0100)]
remove nondeterminism by adjusting thresholds
Oliver Schneider [Wed, 21 Dec 2016 09:00:13 +0000 (10:00 +0100)]
rustfmt fallout in doc comments
Oliver Schneider [Wed, 21 Dec 2016 08:45:24 +0000 (09:45 +0100)]
rustfmt round n
Oliver Schneider [Tue, 20 Dec 2016 17:21:30 +0000 (18:21 +0100)]
also run rustfmt on clippy-lints
Manish Goregaokar [Tue, 20 Dec 2016 14:42:21 +0000 (06:42 -0800)]
Merge pull request #1259 from Manishearth/rustfmt
Run rustfmt
Oliver Schneider [Tue, 20 Dec 2016 11:21:52 +0000 (12:21 +0100)]
rustfmt is installed into the cargo bin dir
Oliver Schneider [Tue, 20 Dec 2016 09:43:59 +0000 (10:43 +0100)]
fix subsequent travis runs
Oliver Schneider [Tue, 20 Dec 2016 09:42:22 +0000 (10:42 +0100)]
enforce rustfmt on travis
Oliver Schneider [Tue, 20 Dec 2016 09:22:59 +0000 (10:22 +0100)]
remove needless rustfmt setting
Oliver Schneider [Tue, 20 Dec 2016 09:20:41 +0000 (10:20 +0100)]
run rustfmt
mcarton [Mon, 19 Dec 2016 19:22:38 +0000 (20:22 +0100)]
Fix a couple warnings
Manish Goregaokar [Mon, 19 Dec 2016 11:36:42 +0000 (03:36 -0800)]
Merge pull request #1345 from EpocSquadron/epocsquadron-documentation
Clarify recco to install as a soft dependency
Manish Goregaokar [Mon, 19 Dec 2016 11:35:45 +0000 (03:35 -0800)]
Merge pull request #1355 from philipturnbull/deref-addrof
Lint usage of `*&` and `*&mut`
Oliver Schneider [Mon, 19 Dec 2016 11:31:08 +0000 (12:31 +0100)]
Merge pull request #1318 from oli-obk/op_assign_false_positive
don't lint on x = x + y inside an AddAssign impl
Oliver Schneider [Mon, 19 Dec 2016 10:13:23 +0000 (11:13 +0100)]
update minimum required compiletest version
Oliver Schneider [Mon, 19 Dec 2016 10:13:07 +0000 (11:13 +0100)]
don't lint on x = x + y inside an AddAssign impl
fixes #1302
Martin Carton [Sat, 17 Dec 2016 00:35:37 +0000 (01:35 +0100)]
Merge pull request #1373 from Manishearth/rustup
WIP: rustup
mcarton [Sat, 17 Dec 2016 00:27:35 +0000 (01:27 +0100)]
Bump to 0.0.104
Arnavion [Sun, 11 Dec 2016 07:57:19 +0000 (23:57 -0800)]
Use inputs/output getters for rustc::ty::FnSig instead of the now non-existent fields.
Oliver Schneider [Wed, 7 Dec 2016 12:13:40 +0000 (13:13 +0100)]
update to the rust-PR that unblocks clippy
Oliver Schneider [Tue, 6 Dec 2016 10:33:50 +0000 (11:33 +0100)]
remove wrong rustc version so we don't accidentally forget to update
Oliver Schneider [Tue, 6 Dec 2016 10:32:21 +0000 (11:32 +0100)]
rustup to rustc 1.15.0-dev (
3b248a184 2016-12-05)
Oliver Schneider [Sun, 4 Dec 2016 18:31:46 +0000 (19:31 +0100)]
uncomment code that was commented out for testing
mcarton [Fri, 2 Dec 2016 21:33:16 +0000 (22:33 +0100)]
Fix dogfood
mcarton [Fri, 2 Dec 2016 21:23:24 +0000 (22:23 +0100)]
Fix copy lints
mcarton [Fri, 2 Dec 2016 19:54:05 +0000 (20:54 +0100)]
Revert "down to for-loops not comparing as equal"
This reverts commit
cf1fa94be1e98dba2ce1755e1c86acef50daf599 .
mcarton [Fri, 2 Dec 2016 19:33:37 +0000 (20:33 +0100)]
Don't set RUST_BACKTRACE for tests
It is slow but it can be useful and can be set/unset explicitly before
running tests if needed. There is no backtrace by default anyway.
Oliver Schneider [Fri, 2 Dec 2016 18:30:00 +0000 (19:30 +0100)]
enum detection by style convention
Oliver Schneider [Fri, 2 Dec 2016 18:23:30 +0000 (19:23 +0100)]
permit more equalities
Oliver Schneider [Fri, 2 Dec 2016 18:19:52 +0000 (19:19 +0100)]
down to for-loops not comparing as equal
Oliver Schneider [Fri, 2 Dec 2016 16:38:31 +0000 (17:38 +0100)]
`enum glob use` and `copies` left
Wim Looman [Thu, 1 Dec 2016 21:36:35 +0000 (22:36 +0100)]
Allow `allow(deprecated)` attribute on `use` items
fixes #1372
Oliver Schneider [Thu, 1 Dec 2016 21:31:56 +0000 (22:31 +0100)]
WIP compiles and doesn't crash (much) but tests are failing
Manish Goregaokar [Tue, 29 Nov 2016 00:03:36 +0000 (16:03 -0800)]
Merge pull request #1369 from durka/no-service
fix travis config for clippy.bashy.io
Alex Burka [Mon, 28 Nov 2016 23:59:23 +0000 (18:59 -0500)]
travis: ping correct repo for clippy.bash.io
Alex Burka [Mon, 28 Nov 2016 23:59:15 +0000 (18:59 -0500)]
don't advertise clippy.bashy.io
Oliver Schneider [Fri, 25 Nov 2016 18:33:53 +0000 (19:33 +0100)]
Merge pull request #1367 from Manishearth/rustup
rustup to rustc 1.15.0-nightly (
d5814b03e 2016-11-23)
Oliver Schneider [Fri, 25 Nov 2016 18:24:55 +0000 (19:24 +0100)]
rustup to rustc 1.15.0-nightly (
d5814b03e 2016-11-23)
Phil Turnbull [Fri, 25 Nov 2016 14:54:07 +0000 (09:54 -0500)]
Convert DEREF_ADDROF to EarlyLintPass
Phil Turnbull [Fri, 25 Nov 2016 14:53:49 +0000 (09:53 -0500)]
Make deref_addrof suggestions stricter
SUGGESTION matches a substring so 'aref' in the testcases can match
'let b = *aref', 'let b = **aref', 'let b = *&aref' etc, which are
all wrong.
Martin Carton [Thu, 24 Nov 2016 17:12:20 +0000 (18:12 +0100)]
Merge pull request #1360 from Manishearth/rustup
Rustup to *rustc 1.15.0-nightly (
3bf2be9ce 2016-11-22)* and bump to 0.0.102
Oliver Schneider [Thu, 24 Nov 2016 10:20:52 +0000 (11:20 +0100)]
Merge pull request #1363 from hdhoang/patch-2
useless_format: fix typo
Oliver Schneider [Thu, 24 Nov 2016 10:19:57 +0000 (11:19 +0100)]
Merge pull request #1362 from hdhoang/patch-1
let_if_seq: fix rewrite example
Hoàng Đức Hiếu [Thu, 24 Nov 2016 09:10:22 +0000 (16:10 +0700)]
useless_format: fix typo
Hoàng Đức Hiếu [Thu, 24 Nov 2016 09:09:09 +0000 (16:09 +0700)]
let_if_seq: fix rewrite example
mcarton [Wed, 23 Nov 2016 21:45:00 +0000 (22:45 +0100)]
Bump to 0.0.102
mcarton [Wed, 23 Nov 2016 21:44:00 +0000 (22:44 +0100)]
Rustup to *rustc 1.15.0-nightly (
3bf2be9ce 2016-11-22)*
Martin Carton [Wed, 23 Nov 2016 20:39:12 +0000 (21:39 +0100)]
Merge pull request #1357 from Manishearth/rustup
Rustup to *rustc 1.15.0-nightly (
7b3eeea22 2016-11-21)* and bump to 0.0.101
mcarton [Wed, 23 Nov 2016 20:25:44 +0000 (21:25 +0100)]
Bump to 0.0.101
mcarton [Wed, 23 Nov 2016 20:19:03 +0000 (21:19 +0100)]
Rustup to *rustc 1.15.0-nightly (
7b3eeea22 2016-11-21)*
Phil Turnbull [Tue, 22 Nov 2016 18:22:37 +0000 (13:22 -0500)]
Lint usage of `*&` and `*&mut`
fixes #1316
Martin Carton [Tue, 22 Nov 2016 17:21:30 +0000 (18:21 +0100)]
Merge pull request #1349 from philipturnbull/extend-chars
Lint `.extend(s.chars())` (closes #792)
Phil Turnbull [Sun, 20 Nov 2016 16:22:22 +0000 (11:22 -0500)]
Remove mention of `.push_str(s)` being faster
For the `.push_str(str.chars())` case the compiler will inline `push_str` and
call `extend_from_slice` on the underlying vector, so this isn't actually
faster.
Phil Turnbull [Sun, 20 Nov 2016 16:19:36 +0000 (11:19 -0500)]
Suggest `&s` instead of `s.as_str()`
Oliver Schneider [Sun, 20 Nov 2016 08:21:25 +0000 (09:21 +0100)]
Merge pull request #1347 from sinkuu/conditional_returns
Allow explicit returns with cfg attributes
Daniel S Poulin [Sun, 20 Nov 2016 03:16:36 +0000 (22:16 -0500)]
Further clarify recommended usage
Pushed the section on hard dependency installation to the bottom of the usage methods to further discourage its use. Also included a note in that section warning that it is not the recommended method. Lastly, changed what was said in the opening paragraph of the Usage section to reflect the multitude of options.
sinkuu [Sun, 20 Nov 2016 01:15:40 +0000 (10:15 +0900)]
Fix #1346
sinkuu [Sat, 19 Nov 2016 11:10:04 +0000 (20:10 +0900)]
Allow explicit returns with cfg attributes
Martin Carton [Sat, 19 Nov 2016 23:19:38 +0000 (00:19 +0100)]
Merge pull request #1351 from Manishearth/rustup-2016-11-18
Rustup to *rustc 1.15.0-nightly (
ac635aa95 2016-11-18)* and bump to 0.0.100
mcarton [Sat, 19 Nov 2016 23:14:25 +0000 (00:14 +0100)]
Bump to 0.0.100
mcarton [Sat, 19 Nov 2016 23:13:08 +0000 (00:13 +0100)]
Rustup to *rustc 1.15.0-nightly (
ac635aa95 2016-11-18)*
Phil Turnbull [Sat, 19 Nov 2016 15:36:23 +0000 (10:36 -0500)]
Add lint for `string.extend(string.chars())`
fixes #792
Phil Turnbull [Sat, 19 Nov 2016 15:21:40 +0000 (10:21 -0500)]
Add lint for `string.extend("str".chars())`
fixes #792
Phil Turnbull [Sun, 16 Oct 2016 19:13:09 +0000 (15:13 -0400)]
Factor out lint_vec_extend
Daniel S Poulin [Sat, 19 Nov 2016 03:46:12 +0000 (22:46 -0500)]
Clarify recco to install as a soft dependency
On IRC it was mentioned that clippy is not meant to be installed as a hard dependency.
As it was, the README placed the hard dependency instructions first and did not
mention the recommendation, misleading users into making it a hard dependency. A
quick survey of the dependent crates on crates.io reveals the reach of this issue.
Martin Carton [Fri, 18 Nov 2016 12:47:07 +0000 (13:47 +0100)]
Merge pull request #1344 from Manishearth/rustup
[WIP] Rustup to rustc 1.15.0-nightly (
0ed951993 2016-11-14)
mcarton [Fri, 18 Nov 2016 12:40:53 +0000 (13:40 +0100)]
Rustup to rustc 1.15.0-nightly (
0ed951993 2016-11-14)
mcarton [Fri, 18 Nov 2016 12:40:15 +0000 (13:40 +0100)]
Cleanup
Oliver Schneider [Fri, 18 Nov 2016 12:21:07 +0000 (13:21 +0100)]
fix the inspector
mcarton [Thu, 17 Nov 2016 18:44:18 +0000 (19:44 +0100)]
Handle closure with single expression blocks
mcarton [Wed, 16 Nov 2016 20:57:56 +0000 (21:57 +0100)]
Rustup to rustc 1.15.0-nightly (
0ed951993 2016-11-14)
Manish Goregaokar [Fri, 11 Nov 2016 05:20:13 +0000 (21:20 -0800)]
Merge pull request #1339 from dereckson/patch-1
Recognize quux as a metasyntactic variable
Sébastien Santoro [Fri, 11 Nov 2016 04:57:29 +0000 (05:57 +0100)]
Recognize quux as a metasyntactic variable
quux is another metasyntactic variable like foo and so
should be detected by the blacklisted names linter.