Sign in
rust
/
rust
/
refs/heads/perf-tmp
/
.
/
tests
/
ui
/
hygiene
/
arguments.rs
blob: ab58301d468b08102964c971f8d4db5b8ffac266 [
file
] [
log
] [
blame
]
#![
feature
(
decl_macro
)]
macro m
(
$t
:
ty
,
$e
:
expr
)
{
mod
foo
{
#[
allow
(
unused
)]
struct
S
;
pub
(
super
)
fn
f
(
_
:
$t
)
{}
}
foo
::
f
(
$e
);
}
fn
main
()
{
struct
S
;
m
!(
S
,
S
);
//~ ERROR cannot find type `S` in this scope
}