Samuel Moelius
|
877585089e
|
Fix non-lifetime tests
|
2024-09-25 13:52:12 -04:00 |
|
Lzu Tao
|
c4c41d1352
|
Fix 12969 and fix 9841
|
2024-07-03 21:25:43 +07:00 |
|
Lzu Tao
|
7b76b94780
|
add test 12969 and 9841
|
2024-07-03 21:09:38 +07:00 |
|
Jason Newcomb
|
1a01132417
|
Lint explicit_auto_deref on most union field accesses.
|
2023-11-11 15:54:58 -05:00 |
|
Samuel Tardieu
|
c548d11041
|
Auto deref does not apply on union field
|
2023-09-10 18:15:18 +02:00 |
|
Jason Newcomb
|
82f2e52469
|
Fix span when linting explicit_auto_deref immediately after needless_borrow
|
2023-08-21 22:34:32 -04:00 |
|
Oli Scherer
|
3d88fae050
|
Update ui test crate
|
2023-08-11 14:02:28 +00:00 |
|
Oli Scherer
|
def1705a27
|
Update to a compiletest-rs version that requires //@ for commands
|
2023-04-20 14:44:03 +00:00 |
|
Jason Newcomb
|
0aad34e43f
|
Normalize projections types when checking explicit_auto_deref
|
2023-02-21 15:59:06 -05:00 |
|
Jason Newcomb
|
2d32b40359
|
Don't lint explicit_auto_deref when the initial type is neither a reference, nor a receiver
|
2022-11-30 11:23:01 -05:00 |
|
Jason Newcomb
|
5b1e445b9a
|
Don't lint explicit_auto_deref when the target type is a projection containing a generic argument
|
2022-11-07 14:39:45 -05:00 |
|
Jason Newcomb
|
ecb51fe6a5
|
Lint explicit_auto_deref in implicit return positions for closures
|
2022-08-08 10:25:05 -04:00 |
|
Jason Newcomb
|
5285928bc0
|
Fix ICE when checking the HIR ty of closure args.
|
2022-08-08 10:09:05 -04:00 |
|
Jason Newcomb
|
d602ab1445
|
Don't lint exlipicit_auto_deref when other adjustments are needed
|
2022-07-17 11:14:08 -04:00 |
|
Jason Newcomb
|
84e03b6215
|
Don't lint explicit_auto_deref on dyn Trait return
|
2022-07-17 11:14:07 -04:00 |
|
Jason Newcomb
|
9ce0f82b8a
|
Include the borrow in the suggestion for explicit_auto_deref
|
2022-07-17 11:14:07 -04:00 |
|
Jason Newcomb
|
c990e2922a
|
Don't suggest using auto deref for block expressions
|
2022-07-17 11:14:07 -04:00 |
|
Jason Newcomb
|
3e80d3988d
|
Fix ICE in dereference.rs
|
2022-07-02 00:59:58 -04:00 |
|
Jason Newcomb
|
85c1f74fef
|
Add explicit_auto_deref test for variadic function
|
2022-06-28 12:48:50 -04:00 |
|
Jason Newcomb
|
0b4ba734cb
|
Refactor dereference.rs
Merge `Position` and `AutoDerefStability`
|
2022-06-28 12:48:26 -04:00 |
|
Jason Newcomb
|
0204b95357
|
Lint explicit_auto_deref immediately after needless_borrow
|
2022-06-28 12:48:26 -04:00 |
|
Jason Newcomb
|
65bc6cb8bf
|
Lint explicit_auto_deref without a leading borrow
|
2022-06-28 12:48:26 -04:00 |
|
Jason Newcomb
|
20ea26234a
|
Lint field accesses in explicit_auto_deref
|
2022-06-28 12:48:26 -04:00 |
|
Jason Newcomb
|
ee532c0222
|
Don't lint explicit_auto_deref on reborrows
|
2022-06-28 12:48:26 -04:00 |
|
Jason Newcomb
|
8a74d33570
|
Add explicit_auto_deref lint
|
2022-06-28 12:48:24 -04:00 |
|