about summary refs log tree commit diff
path: root/Cargo.lock
diff options
context:
space:
mode:
authorStuart Cook <Zalathar@users.noreply.github.com>2025-08-28 23:10:37 +1000
committerGitHub <noreply@github.com>2025-08-28 23:10:37 +1000
commit72727b165400fcb003631a4d20b70e11e8e8c42f (patch)
tree1b30de71acc88c83a1b2fa90cc7cc5782b8232d7 /Cargo.lock
parentf6c56bcd66ebf0bfcb65ddd696c7e88210c38f00 (diff)
parenta8c837e7ffc6b559987c8fc71581ded676cf29f3 (diff)
downloadrust-72727b165400fcb003631a4d20b70e11e8e8c42f.tar.gz
rust-72727b165400fcb003631a4d20b70e11e8e8c42f.zip
Rollup merge of #145941 - Urgau:int_to_ptr_transmutes-unsized, r=lcnr
Disable `integer_to_ptr_transmutes` suggestion for unsized types

This PR disables the machine-applicable `integer_to_ptr_transmutes` lint suggestion for unsized types, as [`std::ptr::with_exposed_provenance`](https://doc.rust-lang.org/std/ptr/fn.with_exposed_provenance.html) requires sized types.

We should probably mention [`std::ptr::from_raw_parts`](https://doc.rust-lang.org/std/ptr/fn.from_raw_parts.html) when it becomes stable.

Related to https://github.com/rust-lang/rust/issues/145935
Diffstat (limited to 'Cargo.lock')
0 files changed, 0 insertions, 0 deletions