]> git.proxmox.com Git - rustc.git/blob - tests/ui/imports/import-prefix-macro-2.rs
New upstream version 1.68.2+dfsg1
[rustc.git] / tests / ui / imports / import-prefix-macro-2.rs
1 mod a {
2 pub mod b {
3 pub mod c {
4 pub struct S;
5 pub struct Z;
6 }
7 }
8 }
9
10 macro_rules! import {
11 ($p: path) => (use ::$p {S, Z}); //~ERROR expected identifier, found `a::b::c`
12 }
13
14 import! { a::b::c }
15
16 fn main() {}