Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
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
()
{}