Basically the title. I get:
error: implicit autoref creates a reference to the dereference of a raw pointer
--> src/c_api/blocks.rs:276:17
|
276 | *data = (*block).values.raw_copy();
| ^^-----^^^^^^^^
| |
| this raw pointer has type `*mut mts_block_t`
|
= note: creating a reference requires the pointer target to be valid and imposes aliasing requirements
= note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations
= note: `#[deny(dangerous_implicit_autorefs)]` on by default
help: try using a raw pointer method instead; or if this reference is intentional, make it explicit
|
276 | *data = (&(*block)).values.raw_copy();