rustc/tests/ui/feature-gates/feature-gate-macro-metavar-expr-concat.rs
2024-10-21 11:08:01 +02:00

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() {
}