Jason Newcomb
|
cb384ff03b
|
Handle implicit named arguments in useless_format
|
2022-01-15 16:28:49 -05:00 |
|
Nixon Enraght-Moony
|
081d0f82f4
|
Make useless_format recognize format!("")
Closes #7796
|
2021-10-21 19:01:28 +01:00 |
|
Samuel E. Moelius III
|
47014d81a1
|
Fix adjacent tests
|
2021-10-15 12:44:49 -04:00 |
|
Cameron Steffen
|
20dbb277cf
|
Fix useless_format false positive
|
2021-07-13 08:57:16 -05:00 |
|
Basavesh Shivakumar
|
c6b381c59b
|
useless use of format! should return function directly
|
2021-04-19 17:20:21 +02:00 |
|
Sebastian Andersson
|
7b7ddfa55d
|
Preserve raw strs for: format!(s) to s.to_string() lint
Ie:
| let s = format!(r#""hello""#);
| ^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `r#""hello""#.to_string()`
|
2020-10-09 20:23:03 +02:00 |
|
Shotaro Yamada
|
9de642190e
|
Extend redundant_clone to the case that cloned value is not consumed
|
2020-03-13 00:31:09 +09:00 |
|
Lzu Tao
|
f717a77ecc
|
Re-add false positive check
|
2019-08-23 09:16:50 +00:00 |
|
Lzu Tao
|
ce2d2920ef
|
Add raw string regression test for useless_format lint
|
2019-08-23 09:16:50 +00:00 |
|
rchaser53
|
db6ca9b8d3
|
fix format does not parse escaped braces error
|
2019-04-13 01:39:10 +09:00 |
|
flip1995
|
3282955238
|
Update tests
|
2019-03-10 22:07:10 +01:00 |
|
Michael Wright
|
0182a6640e
|
Fix useless_format suggestions
|
2019-02-24 07:30:08 +02:00 |
|