Sign in
android
/
toolchain
/
rustc
/
ff3f07ae99a30006dd85b9d73084edd9355c9db6
/
.
/
src
/
test
/
ui
/
imports
/
import-prefix-macro-2.rs
blob: 952d161e83facedba9c2bbf4245f9cc78bd99915 [
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 `a::b::c`
}
import
!
{
a
::
b
::
c
}
fn
main
()
{}