rust/tests/ui/feature-gates/feature-gate-macro-metavar-...

10 lines
191 B
Rust

macro_rules! join {
($lhs:ident, $rhs:ident) => {
let ${concat($lhs, $rhs)}: () = ();
//~^ ERROR the `concat` meta-variable expression is unstable
};
}
fn main() {
}