mirror of
https://git.proxmox.com/git/rustc
synced 2025-05-02 11:37:50 +00:00
13 lines
164 B
Rust
13 lines
164 B
Rust
// edition:2018
|
|
|
|
#![no_std]
|
|
#![crate_type = "lib"]
|
|
|
|
use alloc::vec;
|
|
//~^ ERROR unresolved import `alloc`
|
|
|
|
pub fn foo() {
|
|
let mut xs = vec![];
|
|
xs.push(0);
|
|
}
|