### Problem current lib use Layout::danging but compiler expect Layout::dangling_ptr [https://github.com/rust-lang/rust/pull/148769#issue-3605478404](https://github.com/rust-lang/rust/pull/148769#issue-3605478404) ### Environment `rustc -Vv` ``` rustc 1.95.0-nightly (838709580 2026-02-17) binary: rustc commit-hash: 8387095803f21a256a9a772ac1f9b41ed4d5aa0a commit-date: 2026-02-17 host: x86_64-pc-windows-msvc release: 1.95.0-nightly LLVM version: 22.1.0 ``` enable feature `alloc_ref`
Problem
current lib use Layout::danging but compiler expect Layout::dangling_ptr
rust-lang/rust#148769 (comment)
Environment
rustc -Vvenable feature
alloc_ref