Yusuke Tanaka
|
e7d2393d01
|
Move transmute_float_to_int to its own module
|
2021-03-02 10:40:24 +01:00 |
|
Yusuke Tanaka
|
acedc7b8f2
|
Move transmute_int_to_float to its own module
|
2021-03-02 10:40:24 +01:00 |
|
Yusuke Tanaka
|
d04ea41d1f
|
Move transmute_int_to_bool to its own module
|
2021-03-02 10:40:24 +01:00 |
|
Yusuke Tanaka
|
f8bc0e249c
|
Move transmute_ptr_to_ptr to its own module
|
2021-03-02 10:40:23 +01:00 |
|
Yusuke Tanaka
|
7af3458b54
|
Move transmute_bytes_to_str and transmute_ptr_to_ptr to transmute_ref_to_ref module
|
2021-03-02 10:40:23 +01:00 |
|
Yusuke Tanaka
|
4c65221188
|
Move transmute_int_to_char to its own module
|
2021-03-02 10:40:23 +01:00 |
|
Yusuke Tanaka
|
6442d45d3a
|
Move transmute_ptr_to_ref to its own module
|
2021-03-02 10:40:23 +01:00 |
|
Yusuke Tanaka
|
afc9275928
|
Move crosspointer_transmute to its own module
|
2021-03-02 10:37:30 +01:00 |
|
Yusuke Tanaka
|
ef97764dcc
|
Move wrong_transmute to its own module
|
2021-03-02 10:37:30 +01:00 |
|
Yusuke Tanaka
|
0d7dd00860
|
Move useless_transmute to its own module
|
2021-03-02 10:37:30 +01:00 |
|
Yusuke Tanaka
|
4ac438bfed
|
Add transmute/utils.rs
|
2021-03-02 10:37:30 +01:00 |
|
Yusuke Tanaka
|
306545ff96
|
Create transmute directory
|
2021-03-02 10:37:30 +01:00 |
|
Yoshitomo Nakanishi
|
74bd806b05
|
Simplify check_for_loop_arg
|
2021-03-02 18:14:20 +09:00 |
|
Yoshitomo Nakanishi
|
eaf63d6df7
|
Unify names of lint entry functions in loops to 'check'
|
2021-03-02 18:14:20 +09:00 |
|
nahuakang
|
845a3a061c
|
Include loops.rs changes from PR#6698
|
2021-03-02 18:14:20 +09:00 |
|
nahuakang
|
2229a0839e
|
Clean up: Rename some files to be consistent with lint names; import lints to each file
|
2021-03-02 18:14:20 +09:00 |
|
nahuakang
|
ecebfe0c9c
|
Move check_for_loop_arg back to mod; split into 4 lint files
|
2021-03-02 18:14:20 +09:00 |
|
nahuakang
|
7cfdef6de1
|
Move MinifyingSugg into manual_memcpy
|
2021-03-02 18:14:20 +09:00 |
|
nahuakang
|
7158c944a4
|
Refactor while let loop to its own module
|
2021-03-02 18:14:20 +09:00 |
|
nahuakang
|
287a4f8ab1
|
Refactor empty loop to its own module
|
2021-03-02 18:14:20 +09:00 |
|
nahuakang
|
d0b657c0b7
|
Refactor while let on iterator lint to its module; rename for loop explicit counter to explicit counter loop
|
2021-03-02 18:14:20 +09:00 |
|
nahuakang
|
455d0476b1
|
Refactor never loop to its own module
|
2021-03-02 18:14:20 +09:00 |
|
nahuakang
|
5b870e1b36
|
Move detect_manual_memcpy to its module; split up utils structs
|
2021-03-02 18:14:20 +09:00 |
|
nahuakang
|
2c1f676bfe
|
Add detect_same_item_push to its own module
|
2021-03-02 18:14:20 +09:00 |
|
nahuakang
|
453e6b97ac
|
Add check_needless_collect to its own module
|
2021-03-02 18:14:20 +09:00 |
|
nahuakang
|
9520cba554
|
Add check_infinite_loop to its own module
|
2021-03-02 18:13:32 +09:00 |
|
nahuakang
|
1e5e541ac5
|
Refactor check_for_single_element_loop to its own module
|
2021-03-02 18:13:32 +09:00 |
|
nahuakang
|
71026cad54
|
Refactor check_for_loop_explicit_counter to its own module
|
2021-03-02 18:13:32 +09:00 |
|
nahuakang
|
71c9fdf8b1
|
Refactor check_for_loop_range into its module
|
2021-03-02 18:13:32 +09:00 |
|
nahuakang
|
6e4663dedf
|
Refactor check_for_mut_range_bound to its own module
|
2021-03-02 18:13:32 +09:00 |
|
nahuakang
|
7b0f588b77
|
Refactor check_for_loop_over_map_kv to its own module
|
2021-03-02 18:13:32 +09:00 |
|
nahuakang
|
408368a82c
|
Refactor check_for_loop_arg; rename manual_flatten's lint back to check_manual_flatten
|
2021-03-02 18:13:32 +09:00 |
|
nahuakang
|
62ac4bd1b2
|
create loops dir; arrange manual_flatten lint and utils
|
2021-03-02 18:13:32 +09:00 |
|
Jason Newcomb
|
f21320fd74
|
Use diagnostic or language items instead of paths
|
2021-03-01 23:10:51 -05:00 |
|
Jason Newcomb
|
2c485e36cd
|
Don't move yield or inline assembly into closure
|
2021-03-01 17:25:23 -05:00 |
|
Cameron Steffen
|
ada8c72f3f
|
Add version = "Two" to rustfmt.toml
Ignore UI tests since this change makes rustfmt less friendly with UI
test comments.
|
2021-03-01 16:17:33 -06:00 |
|
Cameron Steffen
|
7984e60d9e
|
Use diagnostic items in into_iter_collections
|
2021-03-01 09:04:11 -06:00 |
|
Jason Newcomb
|
a3278a16d3
|
Fix manual_map : do not expand macros in suggestions
|
2021-02-28 09:13:24 -05:00 |
|
hyd-dev
|
da3a57377e
|
Fix false positives on procedural macros of missing_inline_in_public_items lint
|
2021-02-28 21:10:44 +08:00 |
|
Matthias Krüger
|
e00b1cc73a
|
change some lint messages and remove old entries from the ignorelist
|
2021-02-28 02:22:05 +01:00 |
|
Matthias Krüger
|
8eb2bd13d0
|
update the lint messages and tests
|
2021-02-28 02:22:05 +01:00 |
|
Yoshitomo Nakanishi
|
bdeec5dbd6
|
Use TypeckResults::expr_ty instead of TyCtxt::type_of to fix "Not a type" ICE
|
2021-02-27 22:57:29 +09:00 |
|
Takayuki Maeda
|
6041365f4b
|
remove pub(crate)
|
2021-02-27 14:16:02 +09:00 |
|
Takayuki Maeda
|
c297174adf
|
export derefs_to_slice from methods module
|
2021-02-27 14:16:02 +09:00 |
|
Takayuki Maeda
|
77907e6dab
|
receive iter method name as an argument
|
2021-02-27 14:16:02 +09:00 |
|
Takayuki Maeda
|
8bae279706
|
remove if_chain
|
2021-02-27 14:16:02 +09:00 |
|
Takayuki Maeda
|
cc2b00055c
|
return when the ty doesn't have len()
|
2021-02-27 14:16:02 +09:00 |
|
Takayuki Maeda
|
9958af4229
|
move lints() to iter_count.rs
|
2021-02-27 14:16:02 +09:00 |
|
Takayuki Maeda
|
204b27937c
|
lint for into_iter().count()
|
2021-02-27 14:16:02 +09:00 |
|
Takayuki Maeda
|
51617b83a1
|
new lint: iter_count
|
2021-02-27 14:15:57 +09:00 |
|