Commit graph

2283 commits

Author SHA1 Message Date
Andre Bogus
b764b2a7aa extend or_fun_call lint to cover methods 2017-01-15 00:31:20 +01:00
Martin Carton
57e056dfc7 Merge pull request #1443 from Manishearth/deprecate_efs
deprecate extend_from_slice lint
2017-01-14 14:49:04 +01:00
Andre Bogus
2fdb6e4d1a deprecate extend_from_slice lint 2017-01-14 14:39:41 +01:00
Martin Carton
e3605dd29b Merge pull request #1441 from Manishearth/rustup
rustup to 2017-01-12
2017-01-13 18:08:06 +01:00
Oliver Schneider
d944d7df9a
rustup to 2017-01-12 2017-01-13 17:04:56 +01:00
Oliver Schneider
d93b96949d
update changelog for 0.107 2017-01-11 15:22:51 +01:00
Oliver Schneider
1f73952dec Merge pull request #1437 from upsuper/upgrade-regex
Upgrade regex to 0.2
2017-01-11 15:17:43 +01:00
Xidorn Quan
00e6d43a07 Upgrade regex to 0.2 2017-01-11 22:44:46 +11:00
Oliver Schneider
3cc5596466 Merge pull request #1433 from sinkuu/ref
Don't lint needless_borrow when matching `&&mut` by `&ref`
2017-01-10 17:29:19 +01:00
sinkuu
c9091b71a1 Don't lint when matching &&mut by &ref (Fix #1432) 2017-01-11 00:42:58 +09:00
llogiq
d6ab240d06 Merge pull request #1430 from oli-obk/false_false_positive
FOR_KV_MAP can now lint on mutable maps due to values_mut()
2017-01-10 10:21:05 +01:00
Manish Goregaokar
87db342304 run rustfmt 2017-01-09 23:56:13 -08:00
Oliver Schneider
e066997046
FOR_KV_MAP can now lint on mutable maps due to values_mut() 2017-01-10 08:33:20 +01:00
Martin Carton
07062d0da4 Merge pull request #1425 from Manishearth/fix-travis
Fix Travis after_success
2017-01-09 21:52:16 +01:00
Andre Bogus
0c7992cdf5 script fixes 2017-01-09 16:45:33 +01:00
Oliver Schneider
3a18a48856 Merge pull request #1424 from sinkuu/unused_io_amount
Implement `unused_io_amount` lint
2017-01-09 09:43:40 +01:00
Andre Bogus
e457cd9c26 I fail at YAML 2017-01-08 17:35:49 +01:00
Andre Bogus
d2738e345a oops. there was another - 2017-01-08 17:33:19 +01:00
Andre Bogus
c1f945cef4 only run after_success on Linux 2017-01-08 17:31:08 +01:00
llogiq
d1bdbaae06 Merge pull request #1423 from Manishearth/ci
more CI integration
2017-01-08 17:04:18 +01:00
Andre Bogus
f613cfcdac Try .exe extension 2017-01-08 13:21:26 +01:00
Andre Bogus
07200e07ad Create .cargo/bin on Windows 2017-01-08 12:21:33 +01:00
sinkuu
a2bcce9dbf Move is_try to util
Removed unnecessary condition

Also changed lint span of `try` from surrounded expression to entire `try`
invocation. It turned out that compiletest misses errors for macro invocations.
2017-01-07 23:52:48 +09:00
Andre Bogus
42c48fde8a another set +e for travis on OSX 2017-01-07 15:15:20 +01:00
sinkuu
ce6e037ac5 Implement unused_io_amount lint 2017-01-07 22:23:33 +09:00
Andre Bogus
b9e5a1fb59 no mkdir needed on Windows 2017-01-06 22:25:46 +01:00
Andre Bogus
513bcbe9b3 another appveyor trial 2017-01-06 21:47:11 +01:00
Andre Bogus
7b8ee6b717 fix typo in appveyor and bug in travis/OSX 2017-01-06 17:52:56 +01:00
Oliver Schneider
5e7727119e Merge pull request #1411 from theemathas/forget_ref
Add forget_ref lint.
2017-01-06 13:43:29 +01:00
Andre Bogus
2a7bfc74d1 hopefully fix travis on OSX, too 2017-01-06 12:48:41 +01:00
Andre Bogus
e4cfc79190 add rust libs to PATH 2017-01-06 12:46:56 +01:00
Andre Bogus
b2f538f3cb fix appveyor (hopefully) 2017-01-06 07:50:56 +01:00
Theemathas Chirananthavat
4962df30d0 Update lint documentation using util/update_lints.py 2017-01-05 17:44:46 -08:00
Theemathas Chirananthavat
e4a4d0c361 Implement the forget_ref lint. 2017-01-05 17:41:01 -08:00
Theemathas Chirananthavat
f55d20ff46 Refactor drop_ref.rs to use the if_let_chain macro. 2017-01-05 17:41:01 -08:00
Theemathas Chirananthavat
3050d90930 Add forget_ref tests.
Also rename drop_ref.rs to drop_forget_ref.rs in tests/compile-fail.
2017-01-05 17:41:01 -08:00
Theemathas Chirananthavat
920a2b7468 The drop_ref test does not require implementing the Drop trait. 2017-01-05 17:41:01 -08:00
Andre Bogus
f4d0f38433 fix appveyor config 2017-01-05 23:22:11 +01:00
Andre Bogus
451cbed1d3 Add appveyor badge 2017-01-05 23:16:00 +01:00
Andre Bogus
a05a4567e7 more CI integration 2017-01-05 19:26:00 +01: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
1c646c7486 Merge pull request #1421 from Manishearth/fx-1420
Fix false positive in wrong_self_convention
2017-01-04 18:22:34 -08:00
Manish Goregaokar
9a301fd508 Bump to 0.0.106; Fix false positive in wrong_self_convention (fix #1420) 2017-01-04 18:05:04 -08:00
Manish Goregaokar
3baa435b70 Merge pull request #1419 from Manishearth/rustup
Rust upgrade to rustc 1.16.0-nightly (468227129 2017-01-03)
2017-01-04 16:00:28 -08:00
Manish Goregaokar
ab42f02003 Rerun rustfmt 2017-01-04 15:53:16 -08:00
Manish Goregaokar
2f941131bf Bump to 1.105 2017-01-04 15:50:57 -08:00
Manish Goregaokar
b101611a97 Rustup to rustc 1.16.0-nightly (468227129 2017-01-03): Dogfood fixes 2017-01-04 15:50:57 -08:00
Manish Goregaokar
d6dd65620e Rustup to rustc 1.16.0-nightly (468227129 2017-01-03): Fix self type 2017-01-04 15:50:54 -08:00
Manish Goregaokar
571369af1b Rustup to rustc 1.16.0-nightly (468227129 2017-01-03): Borrow and spelling fixes 2017-01-04 15:50:50 -08:00
Manish Goregaokar
0437327976 Rustup to rustc 1.16.0-nightly (468227129 2017-01-03): More u128 fixes 2017-01-04 15:50:47 -08:00