Unstable book lang_items
example is outdated
#136290
Labels
A-docs
Area: Documentation for any part of the project, including the compiler, standard library, and tools
A-lang-item
Area: Language items
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Location
https://github.com/rust-lang/rust/blob/master/src/doc/unstable-book/src/language-features/lang-items.md
Summary
The example uses
#[rustc_box]
, which was removed in #135046. Unfortunately, the new intrinsic is atalloc::boxed::box_new
and addingextern crate alloc
to use it causes the realBox
to conflict with the customBox
.@rustbot label A-lang-item
The text was updated successfully, but these errors were encountered: