rust/library/core/src/mem
Jacob Pratt 25dc4d0394
Rollup merge of #132732 - gavincrawford:as_ptr_attribute, r=Urgau
Use attributes for `dangling_pointers_from_temporaries` lint

Checking for dangling pointers by function name isn't ideal, and leaves out certain pointer-returning methods that don't follow the `as_ptr` naming convention. Using an attribute for this lint cleans things up and allows more thorough coverage of other methods, such as `UnsafeCell::get()`.
2024-11-20 01:54:24 -05:00
..
manually_drop.rs Rollup merge of #130279 - theemathas:manually-drop-docs, r=thomcc,traviscross 2024-09-27 00:43:30 +02:00
maybe_uninit.rs Rollup merge of #132732 - gavincrawford:as_ptr_attribute, r=Urgau 2024-11-20 01:54:24 -05:00
mod.rs use semantic line break 2024-10-31 17:27:31 -05:00
transmutability.rs update cfgs 2024-09-05 17:24:01 +01:00