blob: a7a4770fc02f94138d0a0f61237322afd4e57e31 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// edition:2018
#![no_std]
#![crate_type = "lib"]
use alloc::vec;
//~^ ERROR unresolved import `alloc`
pub fn foo() {
let mut xs = vec![];
//~^ ERROR cannot determine resolution for the macro `vec`
xs.push(0);
}
|