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 at alloc::boxed::box_new and adding extern crate alloc to use it causes the real Box to conflict with the custom Box.
@rustbot label A-lang-item
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_newand addingextern crate allocto use it causes the realBoxto conflict with the customBox.@rustbot label A-lang-item