9 let v = alloc::vec![0];
10 //~^ ERROR use of extern prelude names introduced with `extern crate` items is unstable
11 type A = alloc::boxed::Box<u8>;
12 //~^ ERROR use of extern prelude names introduced with `extern crate` items is unstable
18 let v = ::alloc::vec![0];
19 //~^ ERROR use of extern prelude names introduced with `extern crate` items is unstable
20 type A = ::alloc::boxed::Box<u8>;
21 //~^ ERROR use of extern prelude names introduced with `extern crate` items is unstable
27 //~^ ERROR use of extern prelude names introduced with `extern crate` items is unstable
29 //~^ ERROR use of extern prelude names introduced with `extern crate` items is unstable
34 //~^ ERROR use of extern prelude names introduced with `extern crate` items is unstable
36 //~^ ERROR use of extern prelude names introduced with `extern crate` items is unstable
39 extern crate alloc as core;
41 mod unrelated_crate_renamed {
42 type A = core::boxed::Box<u8>;
43 //~^ ERROR use of extern prelude names introduced with `extern crate` items is unstable