Oliver Schneider
e066997046
FOR_KV_MAP can now lint on mutable maps due to values_mut()
2017-01-10 08:33:20 +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
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
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
Manish Goregaokar
a262e3bb0b
Rustup to rustc 1.16.0-nightly (468227129 2017-01-03): Eliminate has_self util
2017-01-04 15:50:37 -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
Josh Holmer
64f5dbc9f8
Rustup to rustc 1.16.0-nightly (468227129 2017-01-03): Body fixes for rustup
2017-01-04 15:50:30 -08:00
Manish Goregaokar
f552f170db
Rustup to rustc 1.16.0-nightly (468227129 2017-01-03): Fix various type errors for rustup
2017-01-04 15:50:18 -08:00
Samuel Tardieu
82b2f5663f
Add a new "short_circuit_statement" lint ( fixes #1194 )
2016-12-31 01:17:39 +01:00
llogiq
e0ab332303
Merge pull request #1409 from Manishearth/fx-new-default
...
Fix suggestion span on new_without_default (fixes #1407 )
2016-12-29 20:34:33 +01:00
Manish Goregaokar
b8b54eb0d8
Fix suggestion span on new_without_default ( fixes #1407 )
2016-12-29 11:19:32 -08:00
Manish Goregaokar
5d78485a81
Merge pull request #1406 from theemathas/double-parens
...
Add double_parens lint
2016-12-28 12:32:04 -08:00
Theemathas Chirananthavat
7034d169e5
Update lint documentation using util/update_lints.py
2016-12-28 12:06:43 -08:00
Theemathas Chirananthavat
c0c20145d1
Fix compile-fail tests by allowing double_parens.
2016-12-28 12:04:46 -08:00
Theemathas Chirananthavat
e1c540bfd1
Implement the double_parens lint.
2016-12-28 12:03:49 -08:00
Theemathas Chirananthavat
d76fa3dfd9
Add skeleton for double_parens lint.
2016-12-28 11:21:53 -08:00
Theemathas Chirananthavat
e7352877c5
Add test for double_parens lint.
2016-12-28 11:21:53 -08:00
Martin Carton
96d2483b09
Merge pull request #1400 from oli-obk/needed_needless_lifetime
...
support impl trait for needless lifetimes
2016-12-25 18:24:39 +01:00
Oliver Schneider
ba59ba3afc
fix rustfmt
2016-12-25 17:49:39 +01:00
Martin Carton
7c480d0db7
Merge pull request #1394 from Manishearth/absurd_extreme_comparisons_false_positive
...
fix absurd extreme comparisons false positive
2016-12-25 17:47:42 +01:00