]> git.lizzy.rs Git - rust.git/blob - src/test/ui/box/alloc-unstable-fail.rs
Rollup merge of #105983 - compiler-errors:issue-105981, r=tmiasko
[rust.git] / src / test / ui / box / alloc-unstable-fail.rs
1 use std::boxed::Box;
2
3 fn main() {
4     let _boxed: Box<u32, _> = Box::new(10);
5     //~^ ERROR use of unstable library feature 'allocator_api'
6 }