]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/feature-gate-concat_idents3.rs
Auto merge of #94130 - erikdesjardins:partially, r=nikic
[rust.git] / src / test / ui / feature-gates / feature-gate-concat_idents3.rs
1 const XY_1: i32 = 10;
2
3 fn main() {
4     const XY_2: i32 = 20;
5     assert_eq!(10, concat_idents!(X, Y_1)); //~ ERROR `concat_idents` is not stable
6     assert_eq!(20, concat_idents!(X, Y_2)); //~ ERROR `concat_idents` is not stable
7 }