Sign in
rust
/
rust-lang
/
rust
/
refs/heads/stable
/
.
/
tests
/
ui
/
imports
/
import-prefix-macro-2.rs
blob: 17898c0a67995b11297d6b86d90d0355f794cf2b [
file
] [
log
] [
blame
]
mod
a
{
pub
mod
b
{
pub
mod
c
{
pub
struct
S
;
pub
struct
Z
;
}
}
}
macro_rules
!
import
{
(
$p
:
path
)
=>
(
use
::
$p
{
S
,
Z
});
//~ERROR expected identifier, found metavariable
}
import
!
{
a
::
b
::
c
}
fn
main
()
{}