mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-28 21:04:47 +00:00
![]() ``` error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused --> internal/core/item_tree.rs:1035:32 | 1035 | Pin::new_unchecked(&*(&**component as *const Dyn as *const u8)), | ^^^^-----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | backing allocation comes from here | = note: casting from `vtable::Dyn` (0 bytes) to `u8` (1 bytes) = note: `#[deny(invalid_reference_casting)]` on by default ``` |
||
---|---|---|
.. | ||
cpp.rs | ||
rust.rs |