You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rust: clippy: disable addr_of! and addr_of_mut macros
With the `raw_ref_op` feature enabled we no longer want to
allow use of `addr_of!` and `addr_of_mut!` macros.
We instead want to use `&raw` and `&raw mut` to get raw
pointers to a place.
Suggested-by: Benno Lossin <[email protected]>
Link: Rust-for-Linux#1148
Signed-off-by: Antonio Hickey <[email protected]>
0 commit comments