]> git.proxmox.com Git - rustc.git/blob - src/test/ui/editions/edition-imports-2015.rs
Update unsuspicious file list
[rustc.git] / src / test / ui / editions / edition-imports-2015.rs
1 // edition:2015
2 // compile-flags:--extern absolute
3 // aux-build:edition-imports-2018.rs
4 // aux-build:absolute.rs
5
6 #[macro_use]
7 extern crate edition_imports_2018;
8
9 mod check {
10 mod import {
11 pub struct Path;
12 }
13
14 gen_imports!(); // OK
15
16 fn check() {
17 Path;
18 LinkedList::<u8>::new();
19 }
20 }
21
22 mod check_glob {
23 gen_glob!(); //~ ERROR cannot glob-import all possible crates
24 }
25
26 fn main() {}