Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
rust-2018
/
issue-54006.rs
blob: 277f658026b854202d43302a633763d1b449bdbb [
file
] [
log
] [
blame
] [
edit
]
//@ edition:2018
#![
no_std
]
#![
crate_type
=
"lib"
]
use
alloc
::
vec
;
//~^ ERROR unresolved import `alloc`
pub
fn
foo
()
{
let
mut
xs
=
vec
![];
xs
.
push
(
0
);
}