Wim Looman
|
7547a4ddef
|
New Lint: Pass small trivially copyable objects by value
Fixes #1680
Hardcoded for 64-bit "trivial" size for now
|
2018-06-15 16:53:34 +02:00 |
|
flip1995
|
cecfdeab19
|
Don't trigger while_immutable_condition for mutable fields of tuples/structs
|
2018-04-03 16:41:30 +02:00 |
|
flip1995
|
d458f22d89
|
Fix check of immutable condition in closure
|
2018-03-27 01:21:25 +02:00 |
|
Karim Snj
|
85bcaad412
|
while_immutable_condition: fix handling of self
|
2018-03-26 23:16:54 +02:00 |
|
Karim Snj
|
ae5354e6ef
|
lint: while immutable condition: do not lint constants
|
2018-03-07 18:25:09 +01:00 |
|
Karim Snj
|
814827113e
|
lint: immutable condition: add internally mutable test
|
2018-03-06 18:27:11 +01:00 |
|
Karim Snj
|
7d35fab304
|
lint: while loop: detect if no var from the condition is mutated
|
2018-03-02 00:01:08 +01:00 |
|
Karim Snj
|
37eca59438
|
lint: while immutable condition: refactor to use hir::Visitor
|
2018-03-01 22:00:43 +01:00 |
|
Karim Snj
|
5c1be4a4ba
|
lint: immutable only vars in while condition
|
2018-02-25 18:25:31 +01:00 |
|