Tristian Celestin
|
b8defc6cc4
|
Warn on calls to std::mem::drop or std::mem::forget with a Copy type
|
2017-02-25 23:05:37 -05:00 |
|
Oliver Schneider
|
19929790aa
|
Merge pull request #1561 from Manishearth/zero_ptr
New zero_ptr lint.
|
2017-02-22 13:34:28 +01:00 |
|
Oliver Schneider
|
27aa309b3d
|
Merge pull request #1556 from sinkuu/take_by_value
Lint needless take-by-value
|
2017-02-21 13:07:25 +01:00 |
|
Oliver Schneider
|
f07f793fa8
|
Merge pull request #1544 from bood/master
Add lint for unnecessary casts (cast to same type)
|
2017-02-21 09:16:07 +01:00 |
|
Andre Bogus
|
2f7babba82
|
New zero_ptr lint.
This fixes #1047. I did not bother to add a full suggestion,
because replacing with `std::ptr::null()` may still lead to
inference failures.
|
2017-02-21 04:36:59 +01:00 |
|
sinkuu
|
0a6bc6031a
|
Rename lint to needless_take_by_value
And fixes false-positives for generics and `match`
|
2017-02-20 16:02:48 +09:00 |
|
sinkuu
|
d81d961ba7
|
Lint needless take-by-value
|
2017-02-19 07:59:44 +09:00 |
|
Bood Qian
|
97d46232b4
|
Merge branch 'master' of github.com:Manishearth/rust-clippy
|
2017-02-18 11:12:13 +08:00 |
|
sinkuu
|
16e53c9868
|
Run update_lints.py
|
2017-02-18 10:14:20 +09:00 |
|
sinkuu
|
6bb426b0e3
|
Add should_assert_eq lint (fixes #641)
|
2017-02-18 10:13:56 +09:00 |
|
Andre Bogus
|
505eb53d29
|
New never loop lint
This lint detects loops that unconditionally break or return.
Closes #257
|
2017-02-17 04:53:14 +01:00 |
|
Bood Qian
|
2f00ea3a07
|
Suppress lint for unsuffixed number casts
|
2017-02-16 22:55:41 +08:00 |
|
Bood Qian
|
afce85e96d
|
Add lint for unnecessary casts (cast to same type)
|
2017-02-15 22:20:20 +08:00 |
|
Oliver Schneider
|
40ea5e8c5d
|
run util/update_lint
|
2017-02-13 11:40:27 +01:00 |
|
Oliver Schneider
|
637a4590f6
|
Merge remote-tracking branch 'origin/master'
|
2017-02-13 11:15:12 +01:00 |
|
Andre Bogus
|
36b8554cf1
|
add notes for immutable inputs
|
2017-02-12 13:53:30 +01:00 |
|
Bood Qian
|
a2d752807a
|
Lint on Err(_) arm of a match
|
2017-02-11 14:57:50 +08:00 |
|
Andre Bogus
|
5650a599a8
|
New mut_from_ref lint
This fixes #1507.
|
2017-02-10 19:39:03 +01:00 |
|
Martin Carton
|
4ee839857b
|
Merge pull request #1506 from bood/master
Lint for possible missing comma in an array #1177
|
2017-02-07 18:56:38 +01:00 |
|
Owen Sanchez
|
1193f4fb68
|
Run update_lints.py
|
2017-02-04 21:54:21 -07:00 |
|
Owen Sanchez
|
e88e637b67
|
Add empty_enum lint (just a copy of large_enum_variant for now)
|
2017-02-04 21:07:54 -07:00 |
|
Bood Qian
|
25fd8c6ba1
|
Shorten lint name for possible missing comma
|
2017-02-04 20:05:25 +08:00 |
|
Mrmaxmeier
|
2be75ef973
|
repeat_str feature has been stablilized
|
2017-02-03 14:16:14 +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
|
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 |
|
Tom Prince
|
a140c3c1bf
|
Remove unused import.
|
2017-01-26 15:41:00 -07:00 |
|
Oliver Schneider
|
26e8558d8a
|
remove rustc-serialize dependency and factor util::cargo out into a crate
|
2017-01-26 11:31:26 +01:00 |
|
Andre Bogus
|
2fdb6e4d1a
|
deprecate extend_from_slice lint
|
2017-01-14 14:39:41 +01:00 |
|
Oliver Schneider
|
d944d7df9a
|
rustup to 2017-01-12
|
2017-01-13 17:04:56 +01:00 |
|
sinkuu
|
ce6e037ac5
|
Implement unused_io_amount lint
|
2017-01-07 22:23:33 +09:00 |
|
Theemathas Chirananthavat
|
e4a4d0c361
|
Implement the forget_ref lint.
|
2017-01-05 17:41:01 -08:00 |
|
Oliver Schneider
|
f145fc44f8
|
Merge pull request #1414 from samueltardieu/no-short-circuit-if
Add a new "short_circuit_statement" lint (fixes #1194)
|
2017-01-05 10:41:14 +01:00 |
|
Manish Goregaokar
|
e02fac4896
|
Rustup to rustc 1.16.0-nightly (468227129 2017-01-03): Recover patterns from arguments
|
2017-01-04 15:50:43 -08:00 |
|
Josh Holmer
|
5aea0b2062
|
Rustup to rustc 1.16.0-nightly (468227129 2017-01-03): u128 fixes for rustup
|
2017-01-04 15:50:34 -08:00 |
|
Samuel Tardieu
|
82b2f5663f
|
Add a new "short_circuit_statement" lint (fixes #1194)
|
2016-12-31 01:17:39 +01:00 |
|
Theemathas Chirananthavat
|
d76fa3dfd9
|
Add skeleton for double_parens lint.
|
2016-12-28 11:21:53 -08:00 |
|
Oliver Schneider
|
90fc9c389f
|
split pub_enum_variant_names to new lint
|
2016-12-21 13:30:57 +01:00 |
|
Oliver Schneider
|
49e3419b87
|
shorten deprecated lints line length
|
2016-12-21 12:50:39 +01:00 |
|
Oliver Schneider
|
53fc09ec46
|
autogenerated functions are ignored by rustfmt
|
2016-12-21 12:40:56 +01:00 |
|
Oliver Schneider
|
009c6d95d7
|
manually fix the overlong lines
|
2016-12-21 12:30:41 +01:00 |
|
Manish Goregaokar
|
d61c7fc747
|
Merge pull request #1355 from philipturnbull/deref-addrof
Lint usage of `*&` and `*&mut`
|
2016-12-19 03:35:45 -08:00 |
|
Oliver Schneider
|
c6e2967b9c
|
rustup to rustc 1.15.0-dev (3b248a184 2016-12-05)
|
2016-12-06 11:32:21 +01:00 |
|
Oliver Schneider
|
59b0077565
|
WIP compiles and doesn't crash (much) but tests are failing
|
2016-12-01 22:31:56 +01:00 |
|
Phil Turnbull
|
0ee6128e27
|
Convert DEREF_ADDROF to EarlyLintPass
|
2016-11-25 10:33:21 -05:00 |
|
Phil Turnbull
|
a9f5b90f0f
|
Lint usage of *& and *&mut
fixes #1316
|
2016-11-22 21:06:20 -05:00 |
|
Phil Turnbull
|
fa78b09fa7
|
Add lint for string.extend("str".chars())
fixes #792
|
2016-11-19 14:55:02 -05:00 |
|
mcarton
|
19c5f5394b
|
Rustup to rustc 1.15.0-nightly (0ed951993 2016-11-14)
|
2016-11-16 23:05:26 +01:00 |
|
Devon Hollowood
|
cfc741405b
|
Run update_lints.py
|
2016-10-31 23:43:19 -07:00 |
|