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
error: this public function might dereference a raw pointer but is not marked `unsafe`
--> src/structure/guid.rs:476:3
|
476 | Readable,
| ^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#not_unsafe_ptr_arg_deref
= note: this error originates in the derive macro `Readable` (in Nightly builds, run with -Z macro-backtrace for more info)
Presumably this is because the Readable trait derived implementation has methods that dereference raw pointers. These could in principle be anything, so the methods are inherently unsafe and should be marked as such. That's most likely a breaking change (worth making).
The text was updated successfully, but these errors were encountered:
Presumably this is because the
Readable
trait derived implementation has methods that dereference raw pointers. These could in principle be anything, so the methods are inherentlyunsafe
and should be marked as such. That's most likely a breaking change (worth making).The text was updated successfully, but these errors were encountered: