]>
git.lizzy.rs Git - rust.git/log
Oliver Schneider [Fri, 6 Jan 2017 12:43:29 +0000 (13:43 +0100)]
Merge pull request #1411 from theemathas/forget_ref
Add forget_ref lint.
Theemathas Chirananthavat [Fri, 30 Dec 2016 03:49:56 +0000 (19:49 -0800)]
Update lint documentation using util/update_lints.py
Theemathas Chirananthavat [Fri, 30 Dec 2016 03:43:22 +0000 (19:43 -0800)]
Implement the forget_ref lint.
Theemathas Chirananthavat [Fri, 30 Dec 2016 03:22:24 +0000 (19:22 -0800)]
Refactor drop_ref.rs to use the if_let_chain macro.
Theemathas Chirananthavat [Fri, 30 Dec 2016 02:45:41 +0000 (18:45 -0800)]
Add forget_ref tests.
Also rename drop_ref.rs to drop_forget_ref.rs in tests/compile-fail.
Theemathas Chirananthavat [Fri, 30 Dec 2016 02:28:49 +0000 (18:28 -0800)]
The drop_ref test does not require implementing the Drop trait.
Oliver Schneider [Thu, 5 Jan 2017 09:41:14 +0000 (10:41 +0100)]
Merge pull request #1414 from samueltardieu/no-short-circuit-if
Add a new "short_circuit_statement" lint (fixes #1194)
Manish Goregaokar [Thu, 5 Jan 2017 02:22:34 +0000 (18:22 -0800)]
Merge pull request #1421 from Manishearth/fx-1420
Fix false positive in wrong_self_convention
Manish Goregaokar [Thu, 5 Jan 2017 02:01:53 +0000 (18:01 -0800)]
Bump to 0.0.106; Fix false positive in wrong_self_convention (fix #1420)
Manish Goregaokar [Thu, 5 Jan 2017 00:00:28 +0000 (16:00 -0800)]
Merge pull request #1419 from Manishearth/rustup
Rust upgrade to rustc 1.16.0-nightly (
468227129 2017-01-03)
Manish Goregaokar [Wed, 4 Jan 2017 23:53:16 +0000 (15:53 -0800)]
Rerun rustfmt
Manish Goregaokar [Wed, 4 Jan 2017 23:40:34 +0000 (15:40 -0800)]
Bump to 1.105
Manish Goregaokar [Wed, 4 Jan 2017 23:48:34 +0000 (15:48 -0800)]
Rustup to rustc 1.16.0-nightly (
468227129 2017-01-03): Dogfood fixes
Manish Goregaokar [Wed, 4 Jan 2017 23:32:57 +0000 (15:32 -0800)]
Rustup to rustc 1.16.0-nightly (
468227129 2017-01-03): Fix self type
Manish Goregaokar [Wed, 4 Jan 2017 22:18:11 +0000 (14:18 -0800)]
Rustup to rustc 1.16.0-nightly (
468227129 2017-01-03): Borrow and spelling fixes
Manish Goregaokar [Wed, 4 Jan 2017 22:14:22 +0000 (14:14 -0800)]
Rustup to rustc 1.16.0-nightly (
468227129 2017-01-03): More u128 fixes
Manish Goregaokar [Wed, 4 Jan 2017 21:46:41 +0000 (13:46 -0800)]
Rustup to rustc 1.16.0-nightly (
468227129 2017-01-03): Recover patterns from arguments
Manish Goregaokar [Wed, 4 Jan 2017 21:06:38 +0000 (13:06 -0800)]
Rustup to rustc 1.16.0-nightly (
468227129 2017-01-03): Eliminate has_self util
Josh Holmer [Wed, 4 Jan 2017 17:05:33 +0000 (12:05 -0500)]
Rustup to rustc 1.16.0-nightly (
468227129 2017-01-03): u128 fixes for rustup
Josh Holmer [Wed, 4 Jan 2017 04:40:42 +0000 (23:40 -0500)]
Rustup to rustc 1.16.0-nightly (
468227129 2017-01-03): Body fixes for rustup
Manish Goregaokar [Tue, 3 Jan 2017 17:19:17 +0000 (09:19 -0800)]
Rustup to rustc 1.16.0-nightly (
468227129 2017-01-03): Fix various type errors for rustup
Samuel Tardieu [Thu, 29 Dec 2016 23:00:55 +0000 (00:00 +0100)]
Add a new "short_circuit_statement" lint (fixes #1194)
llogiq [Thu, 29 Dec 2016 19:34:33 +0000 (20:34 +0100)]
Merge pull request #1409 from Manishearth/fx-new-default
Fix suggestion span on new_without_default (fixes #1407)
Manish Goregaokar [Thu, 29 Dec 2016 19:19:32 +0000 (11:19 -0800)]
Fix suggestion span on new_without_default (fixes #1407)
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