error[E0432]: unresolved import `alloc` --> $DIR/issue-54006.rs:16:5 | LL | use alloc::vec; | ^^^^^ Could not find `alloc` in `{{root}}` error: cannot determine resolution for the macro `vec` --> $DIR/issue-54006.rs:20:18 | LL | let mut xs = vec![]; | ^^^ | = note: import resolution is stuck, try simplifying macro imports error: aborting due to 2 previous errors For more information about this error, try `rustc --explain E0432`.