]> git.proxmox.com Git - rustc.git/blob - src/test/ui/box/alloc-unstable-fail.rs
Merge tag 'debian/1.49.0+dfsg1-1_exp1' into debian/sid
[rustc.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 }