Sign in
android
/
toolchain
/
rustc
/
f7ad1c480b8dc4097ef67cd82ec1c5b706e10950
/
.
/
src
/
test
/
ui
/
macros
/
issue-8709.rs
blob: ea7525d4477de99b71f3ee599f72a8cff6a4da50 [
file
] [
log
] [
blame
]
// run-pass
macro_rules
!
sty
{
(
$t
:
ty
)
=>
(
stringify
!(
$t
))
}
macro_rules
!
spath
{
(
$t
:
path
)
=>
(
stringify
!(
$t
))
}
fn
main
()
{
assert_eq
!(
sty
!(
isize
),
"isize"
);
assert_eq
!(
spath
!(
std
::
option
),
"std::option"
);
}