summaryrefslogtreecommitdiffstats
path: root/src/test/ui/rust-2018/auxiliary/edition-lint-paths.rs
blob: dd22df89eae99a56cadd8e62a178bc4fb4d50d66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
pub fn foo() {}

#[macro_export]
macro_rules! macro_2015 {
    () => {
        use edition_lint_paths as other_name;
        use edition_lint_paths::foo as other_foo;
        fn check_macro_2015() {
            ::edition_lint_paths::foo();
        }
    }
}