Skip to content

feature alloc_ref build fails on latest nightly due to renamed API #88

@WgZgYn

Description

@WgZgYn

Problem

current lib use Layout::danging but compiler expect Layout::dangling_ptr

rust-lang/rust#148769 (comment)

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions