Sign in
rust
/
rust-lang
/
rust
/
refs/heads/perf-tmp
/
.
/
tests
/
ui
/
box
/
alloc-unstable-fail.rs
blob: e209af97d7f758fa79cccf9282301957a66515f3 [
file
] [
log
] [
blame
]
use
std
::
boxed
::
Box
;
fn
main
()
{
let
_boxed
:
Box
<
u32
,
_
>
=
Box
::
new
(
10
);
//~^ ERROR use of unstable library feature `allocator_api`
}