Sign in
rust
/
rust
/
refs/heads/try-perf
/
.
/
tests
/
ui
/
hygiene
/
issue-47311.rs
blob: c2b35722bd86157e89d40beead48bea122d730e9 [
file
] [
log
] [
blame
] [
edit
]
//@ edition:2015
//@ check-pass
#![
feature
(
decl_macro
)]
#![
allow
(
unused
)]
macro m
(
$S
:
ident
,
$x
:
ident
)
{
$S
{
$x
:
0
}
}
mod
foo
{
struct
S
{
x
:
i32
}
fn
f
()
{
::
m
!(
S
,
x
);
}
}
fn
main
()
{}