Commit Graph

2345 Commits

Author SHA1 Message Date
Oliver Schneider
713da45906
apply rustfmt 2017-01-17 19:30:32 +01:00
Oliver Schneider
7b836dd27c
become rustfmt resistant 2017-01-17 19:27:52 +01:00
Oliver Schneider
25100a8299
fix build 2017-01-17 19:23:32 +01:00
Andre Bogus
630e0ef968 Merge branch 'master' of https://github.com/Manishearth/rust-clippy 2017-01-17 16:12:26 +01:00
Andre Bogus
27d47f970a rustfmt tests to fix build 2017-01-17 16:12:09 +01:00
llogiq
d0b296cb6f Merge pull request #1447 from Ms2ger/toml
Update toml version.
2017-01-17 12:52:15 +01:00
Ms2ger
687e5717ba Update toml version. 2017-01-17 12:13:17 +01:00
Oliver Schneider
219da6d736 Merge pull request #1444 from Manishearth/or_else_method
Extend or_fun_call to also cover methods
2017-01-15 14:38:51 +01:00
llogiq
6d22aa42e0 Merge pull request #1445 from sinkuu/fix_closure_return
Use closure body span for needless_return lint (fixes #1405)
2017-01-15 06:20:54 +01:00
sinkuu
cdfe002ee1 Use closure body span (fixes #1405) 2017-01-15 13:16:02 +09:00
Andre Bogus
94c97d2ec9 formatting 2017-01-15 01:12:16 +01:00
Andre Bogus
dbde3b8e1c dogfood fallout 2017-01-15 00:33:29 +01:00
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