rust/clippy_lints/src/casts
llogiq ed176b7b88
Fix ptr_as_ptr suggests wrongly with turbo fish (#15289)
Closes rust-lang/rust-clippy#15283

----

changelog: [`ptr_as_ptr`]: fix wrong suggestions with turbo fish
2025-07-16 17:05:35 +00:00
..
as_pointer_underscore.rs The clipper :3c 2025-01-23 06:01:36 +00:00
as_ptr_cast_mut.rs Merge commit '0f8eabd623' into clippyup 2024-08-24 18:33:44 -04:00
as_underscore.rs The clipper :3c 2025-01-23 06:01:36 +00:00
borrow_as_ptr.rs Don't remove explicit cast to trait object pointer 2025-06-26 14:42:52 +02:00
cast_abs_to_unsigned.rs Merge commit '03a5b6b976' into clippy-subtree-update 2025-05-01 10:22:55 +02:00
cast_enum_constructor.rs Merge commit 'd0cf3481a8' into clippyup 2022-03-24 14:50:04 +01:00
cast_lossless.rs Merge commit '4ef75291b5' into clippy-subtree-update 2025-06-13 11:24:45 +02:00
cast_nan_to_int.rs Merge commit 'cb806113e0' into clippy-subtree-update 2024-08-08 19:13:50 +02:00
cast_possible_truncation.rs fix: cast_possible_truncation should not suggest inside const context 2025-06-30 01:33:35 +08:00
cast_possible_wrap.rs Merge commit '4ef75291b5' into clippy-subtree-update 2025-06-13 11:24:45 +02:00
cast_precision_loss.rs Merge commit '4ef75291b5' into clippy-subtree-update 2025-06-13 11:24:45 +02:00
cast_ptr_alignment.rs Merge commit '4ef75291b5' into clippy-subtree-update 2025-06-13 11:24:45 +02:00
cast_sign_loss.rs Merge commit 'c5dbd1de07' into clippy-subtree-update 2025-06-27 12:20:57 +02:00
cast_slice_different_sizes.rs Merge commit '0621446356' into clippy-subtree-update 2025-04-22 18:24:43 +02:00
cast_slice_from_raw_parts.rs Merge commit '9f9a822509' into clippy-subtree-update 2025-02-28 23:27:09 +01:00
char_lit_as_u8.rs Merge commit 'edb720b199' into clippyup 2023-11-16 19:13:24 +01:00
confusing_method_to_numeric_cast.rs Use Ty::is_fn instead of manually matching on TyKind 2025-07-12 13:34:32 +02:00
fn_to_numeric_cast.rs Use Ty::is_fn instead of manually matching on TyKind 2025-07-12 13:34:32 +02:00
fn_to_numeric_cast_any.rs Use Ty::is_fn instead of manually matching on TyKind 2025-07-12 13:34:32 +02:00
fn_to_numeric_cast_with_truncation.rs Use Ty::is_fn instead of manually matching on TyKind 2025-07-12 13:34:32 +02:00
manual_dangling_ptr.rs Introduce ByteSymbol. 2025-06-30 20:42:27 +10:00
mod.rs zero_ptr: lint in const context as well 2025-06-26 23:09:37 +02:00
ptr_as_ptr.rs fix: ptr_as_ptr suggests wrongly with turbo fish 2025-07-16 22:56:49 +08:00
ptr_cast_constness.rs Merge commit 'cadf98bb7d' into clippy-subtree-update 2025-05-21 15:15:38 +02:00
ref_as_ptr.rs The clipper :3c 2025-01-23 06:01:36 +00:00
unnecessary_cast.rs Introduce ByteSymbol. 2025-06-30 20:42:27 +10:00
utils.rs compiler: Parse p- specs in datalayout string, allow definition of custom default data address space 2025-07-07 09:04:53 +02:00
zero_ptr.rs zero_ptr: lint in const context as well 2025-06-26 23:09:37 +02:00