]> git.lizzy.rs Git - rust.git/blob - tests/ui/box/alloc-unstable-fail.rs
Rollup merge of #107576 - P1n3appl3:master, r=tmandry
[rust.git] / tests / 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 }