rust/tests/ui/feature-gates/feature-gate-macro-metavar-expr-concat.rs
2024-06-13 22:12:26 -03: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() {
}