Samuel Tardieu
|
30608732c2
|
Handle null pointer constness cast through methods
This covers two cases:
- `core::ptr::null::<T>().cast_mut()` -> `core::ptr::null_mut::<T>()`
- `core::ptr::null_mut::<T>().cast_const()` -> `core::ptr::null::<T>()`
|
2024-09-09 10:18:31 +02:00 |
|
Samuel Tardieu
|
9e9526c6ab
|
Special-case suggestions for null pointers constness cast
|
2024-09-09 10:18:31 +02:00 |
|
Alex Macleod
|
7010d3c67e
|
Don't suggest .cast_mut /.cast_const for types with erased lifetimes
|
2024-07-23 11:12:26 +00:00 |
|
Guillaume Gomez
|
8e0496170d
|
Add ui test for missing_transmute_annotations
|
2024-03-24 00:47:59 +01:00 |
|
Oli Scherer
|
00919a4f92
|
Update ui test crate to auto-detect aux build crate kind
|
2023-08-11 14:02:35 +00:00 |
|
Oli Scherer
|
3d88fae050
|
Update ui test crate
|
2023-08-11 14:02:28 +00:00 |
|
Oli Scherer
|
5bd97ac17a
|
Update tests
|
2023-06-26 14:13:07 +00:00 |
|
Centri3
|
cd1d7a3c6f
|
weird
|
2023-06-02 13:26:12 -05:00 |
|
Centri3
|
ad7c44b3e4
|
only lint when cast_from and cast_to 's ty are the same
|
2023-06-02 13:14:16 -05:00 |
|
Centri3
|
4ff1cd365d
|
add description and rename msrv tests
|
2023-05-16 11:20:00 -05:00 |
|
Centri3
|
8c191add87
|
the implementation!!
|
2023-05-14 19:25:23 -05:00 |
|