]> git.lizzy.rs Git - rust.git/blob - tests/ui/box/alloc-unstable-fail.stderr
Rollup merge of #106113 - krasimirgg:llvm-16-ext-tyid, r=nikic
[rust.git] / tests / ui / box / alloc-unstable-fail.stderr
1 error[E0658]: use of unstable library feature 'allocator_api'
2   --> $DIR/alloc-unstable-fail.rs:4:26
3    |
4 LL |     let _boxed: Box<u32, _> = Box::new(10);
5    |                          ^
6    |
7    = note: see issue #32838 <https://github.com/rust-lang/rust/issues/32838> for more information
8    = help: add `#![feature(allocator_api)]` to the crate attributes to enable
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0658`.