Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
HEAD
/
.
/
tests
/
ui
/
macros
/
metavar-expressions
/
concat-hygiene.rs
blob: 24b0e36498a3ef1a51d5ce100d407819b69a09a5 [
file
] [
log
] [
blame
]
#![
feature
(
macro_metavar_expr_concat
)]
macro_rules
!
join
{
(
$lhs
:
ident
,
$rhs
:
ident
)
=>
{
$
{
concat
(
$lhs
,
$rhs
)}
//~^ ERROR cannot find value `abcdef` in this scope
};
}
fn
main
()
{
let
abcdef
=
1
;
let
_another
=
join
!(
abc
,
def
);
}