Sign in
fuchsia
/
third_party
/
rust
/
e356279bdfe6840236877b298f0c577e0f9221ff
/
.
/
tests
/
ui
/
imports
/
import-prefix-macro-1.rs
blob: 91cfd376886d85a5c5f56ca102be65f2385e3b99 [
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 one of `::`, `;`, or `as`, found `{`
}
import
!
{
a
::
b
::
c
}
fn
main
()
{}