laurent
|
4fb1bb124e
|
Make the dogfood test happy.
|
2017-11-05 15:17:28 +00:00 |
|
laurent
|
42f44d5c78
|
Cosmetic change.
|
2017-11-05 15:04:01 +00:00 |
|
laurent
|
7624736961
|
Bugfix.
|
2017-11-05 14:56:15 +00:00 |
|
laurent
|
bcdf57e220
|
Refactor the never-loop detection, fixes #1991.
|
2017-11-05 14:43:28 +00:00 |
|
Lukas Stevens
|
0ae2ece91e
|
Check for arrays with size > 32
|
2017-10-25 21:41:31 +02:00 |
|
Alex Burka
|
41840ae3c4
|
mechanically swap if_let_chain -> if_chain
|
2017-10-23 15:18:02 -04:00 |
|
Oliver Schneider
|
ebdefff88a
|
Something went through the cracks of our CI
|
2017-10-20 16:13:50 +02:00 |
|
Oliver Schneider
|
327d995bb6
|
Merge pull request #2147 from clippered/fix-manual-memcpy-on-overlapping-slices
Fix #2123 : check that the source and destination are different for m…
|
2017-10-20 09:27:15 +02:00 |
|
Manish Goregaokar
|
1f81dcbebd
|
Pass null borrow context to EUV
|
2017-10-19 09:27:58 -07:00 |
|
clippered
|
dfa4cb7ade
|
Fix #2123 : check that the source and destination are different for manual memcpy
|
2017-10-18 07:06:01 +11:00 |
|
Oliver Schneider
|
58002b0e37
|
Merge pull request #2119 from camsteffen/never_loop
Another never_loop fix
|
2017-10-11 08:21:28 +02:00 |
|
Cameron Steffen
|
752900ca3b
|
change expect message
|
2017-10-10 16:30:10 -05:00 |
|
Cameron Steffen
|
9ccb7108b5
|
fix never_loop
|
2017-10-08 17:26:39 -05:00 |
|
Cameron Steffen
|
533a50547f
|
remove contains_continue functions
|
2017-10-08 17:24:32 -05:00 |
|
Andriy S. from cobalt
|
52bd7bb662
|
relax needless_range_loop so that it reports only direct indexing
|
2017-10-08 18:34:31 +03:00 |
|
Cameron Steffen
|
d92d5a8811
|
fix never_loop
|
2017-10-06 00:04:39 -05:00 |
|
Manish Goregaokar
|
0ca166277c
|
Rust upgrade to rustc 1.22.0-nightly (0e6f4cf51 2017-09-27)
|
2017-09-28 07:11:34 -07:00 |
|
Manish Goregaokar
|
94c6f4a868
|
Pass dogfood
|
2017-09-25 18:39:50 -07:00 |
|
Laura Peskin
|
d7867ef8c1
|
add lint for mutable borrow; may have false positives. pushed for feedback
|
2017-09-25 02:00:21 -04:00 |
|
Laura Peskin
|
2fe968774a
|
replace defids with nodeids for local variables
|
2017-09-25 01:44:47 -04:00 |
|
Laura Peskin
|
c326a779dd
|
use def_id of function in check_for_mutation
|
2017-09-24 15:40:17 -04:00 |
|
Laura Peskin
|
9a17150a06
|
refactor, add spans to warnings, add tests
|
2017-09-24 15:40:17 -04:00 |
|
Manish Goregaokar
|
d0eff10a7c
|
Update test, fix lint
|
2017-09-24 15:40:16 -04:00 |
|
Manish Goregaokar
|
27d5ff6c9c
|
Rustup
|
2017-09-24 15:40:16 -04:00 |
|
Laura Peskin
|
74f4fd32e9
|
attempt to add check for mutation of range bound within loop; compiles but doesn't work as intended. pushed for feedback
|
2017-09-24 15:40:16 -04:00 |
|
Laura Peskin
|
319f12a4c4
|
implement lint for mutable range bound
|
2017-09-24 15:40:16 -04:00 |
|
Laura Peskin
|
b091fb9b24
|
add lint declaration and example that should trigger the lint
|
2017-09-24 15:40:16 -04:00 |
|
Oliver Schneider
|
2bb8efdb4d
|
Merge pull request #2058 from rust-lang-nursery/ptr_arg-vs-clone
add suggestions for .clone() in ptr_arg fns
|
2017-09-17 15:37:21 +02:00 |
|
Marcus Klaas
|
48ed3c058f
|
Extend MANUAL_MEMCPY lint so that it also detects manual clones between slices
|
2017-09-16 19:17:22 -04:00 |
|
Marcus Klaas
|
e461e3f915
|
Format loops.rs with latest stable rustfmt
|
2017-09-16 18:45:28 -04:00 |
|
Andre Bogus
|
72be166756
|
add suggestions for .clone() in ptr_arg fns
|
2017-09-16 09:10:26 +02:00 |
|
Seiichi Uchida
|
1f6801dd6a
|
Add ExprLoop to contains_continue_expr()
|
2017-09-14 22:26:59 +09:00 |
|
Oliver Schneider
|
32a9394490
|
Rustup
|
2017-09-13 15:34:04 +02:00 |
|
Oliver Schneider
|
b127ad251f
|
Rustup
|
2017-09-12 14:38:59 +02:00 |
|
Tim Nielens
|
7489a84c6a
|
while_let_loop doesn't take into account break-with-value #1948
|
2017-09-05 22:28:30 +02:00 |
|
Manish Goregaokar
|
7e9ba81297
|
for loops -> for-loops
|
2017-09-05 12:10:53 -07:00 |
|
Marcus Klaas
|
90f345df94
|
Add lint to detect manual slice copies
|
2017-09-05 12:56:26 +02:00 |
|
Oliver Schneider
|
e4524ac4de
|
Run nightly rustfmt
|
2017-09-05 12:39:27 +02:00 |
|
Oliver Schneider
|
009f5aaf83
|
Update to latest nightly
|
2017-09-04 16:10:36 +02:00 |
|
Manish Goregaokar
|
4807909152
|
Rustup to rustc 1.22.0-nightly (744dd6c1d 2017-09-02) (fixes #2013)
|
2017-09-03 13:55:45 -07:00 |
|
Oliver Schneider
|
f3ae929b2d
|
Rustup
|
2017-08-15 11:10:49 +02:00 |
|
Oliver Schneider
|
b25b6b3355
|
Rustfmt
|
2017-08-14 09:43:26 +02:00 |
|
Andre Bogus
|
76ca4dca85
|
unify checks into single visitor, fix block walk
|
2017-08-04 07:48:43 +02:00 |
|
Andre Bogus
|
3b7f3dc8e7
|
WIP: Find binding or assignment within outer loop
|
2017-08-03 22:11:58 +02:00 |
|
Oliver Schneider
|
9967e9aacc
|
Update to latest master
|
2017-07-31 12:37:38 +02:00 |
|
Oliver Schneider
|
68948a5654
|
Fix various needless_range_loop false positives
|
2017-07-16 19:34:38 +02:00 |
|
Oliver Schneider
|
e80d883bf1
|
Run rustfmt
|
2017-07-10 10:21:21 +02:00 |
|
Oliver Schneider
|
a82cd77b2b
|
Rustup to *rustc 1.20.0-nightly (d84693b93 2017-07-09)*
|
2017-07-10 10:17:40 +02:00 |
|
uHOOCCOOHu
|
14a1a08b5e
|
Search continue in return expr.
|
2017-07-05 15:57:29 +08:00 |
|
Oliver Schneider
|
1788f7bcde
|
Merge pull request #1847 from Manishearth/nested_while_let
don't lint while_let_on_iterator on nested loops
|
2017-07-04 16:05:24 +02:00 |
|