summaryrefslogtreecommitdiffstats
path: root/src/test/ui/editions/auxiliary/edition-imports-2018.rs
blob: b08dc499a0dddf16b15646b9d830b28bac86d470 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// edition:2018

#[macro_export]
macro_rules! gen_imports { () => {
    use import::Path;
    use std::collections::LinkedList;

    fn check_absolute() {
        ::absolute::Path;
        ::std::collections::LinkedList::<u8>::new();
    }
}}

#[macro_export]
macro_rules! gen_glob { () => {
    use *;
}}