summaryrefslogtreecommitdiffstats
path: root/tests/ui/macros/macro-crate-nonterminal-non-root.rs
blob: 67899556f8adff154c00300238f30d2952b4e302 (plain)
1
2
3
4
5
6
7
8
9
// aux-build:macro_crate_nonterminal.rs

mod foo {
    #[macro_use]
    extern crate macro_crate_nonterminal;  //~ ERROR must be at the crate root
}

fn main() {
}