rust/tests/ui/feature-gates/feature-gate-macro-metavar-expr-concat.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
191 B
Rust
Raw Normal View History

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