25dc4d0394
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()`. |
||
---|---|---|
.. | ||
accepted.rs | ||
builtin_attrs.rs | ||
lib.rs | ||
removed.rs | ||
tests.rs | ||
unstable.rs |