mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-22 10:05:06 +03:00
9563a5ce46
this could arguably be 2 separate PRs, but both of these were brought up in the same issue, so.. fixes https://github.com/rust-lang/rust-clippy/issues/15398 - [x] I'm a bit doubtful about the last commit -- see the message for my reasoning and do let me know whether it's right. changelog: [`borrow_as_ptr`]: don't lint inside proc-macros changelog: [`ptr_as_ptr`]: don't lint inside proc-macros