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
warning: transmute from a reference to a reference
--> src/***/***.rs:46:1
|
46 | / bitmask! {
47 | | pub mask MethodsMask: u32 where flags MethodFlag {
48 | | Post = Methods::POST,
49 | | Get = Methods::GET,
... |
53 | | }
54 | | }
| |_^
|
= note: #[warn(clippy::transmute_ptr_to_ptr)] on by default
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ptr
= note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
The text was updated successfully, but these errors were encountered:
Hello, I'm using bitmask macro in my code, and I'm getting a clippy warning for the following code :
The warning :
The text was updated successfully, but these errors were encountered: