-
-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
warning: unsafe function's docs miss `# Safety` section
--> src/lib.rs:40:1
|
40 | mopafy!(Widget);
| ^^^^^^^^^^^^^^^^
|
= note: `#[warn(clippy::missing_safety_doc)]` on by default
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
= note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
warning: transmute from a pointer type (`*mut ()`) to a reference type (`&T`)
--> src/lib.rs:40:1
|
40 | mopafy!(Widget);
| ^^^^^^^^^^^^^^^^
|
= note: `#[warn(clippy::transmute_ptr_to_ref)]` on by default
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ref
= note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
warning: unsafe function's docs miss `# Safety` section
--> src/lib.rs:40:1
|
40 | mopafy!(Widget);
| ^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
= note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
warning: transmute from a pointer type (`*mut ()`) to a reference type (`&mut T`)
--> src/lib.rs:40:1
|
40 | mopafy!(Widget);
| ^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ref
= note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
warning: unsafe function's docs miss `# Safety` section
--> src/lib.rs:40:1
|
40 | mopafy!(Widget);
| ^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
= note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels