]> git.proxmox.com Git - rustc.git/blob - tests/ui/rust-2018/uniform-paths/prelude.rs
New upstream version 1.68.2+dfsg1
[rustc.git] / tests / ui / rust-2018 / uniform-paths / prelude.rs
1 // build-pass (FIXME(62277): could be check-pass?)
2 // edition:2018
3
4 // Macro imported with `#[macro_use] extern crate`
5 use vec as imported_vec;
6
7 // Standard library prelude
8 use Vec as ImportedVec;
9
10 // Built-in type
11 use u8 as imported_u8;
12
13 // Built-in macro
14 use env as env_imported;
15
16 type A = imported_u8;
17
18 fn main() {
19 imported_vec![0];
20 ImportedVec::<u8>::new();
21 env_imported!("PATH");
22 }