blob: d4a0d2e6bb0e41d1fa97fdb5fd4fbb9eefd073fb (
plain)
1
2
3
4
5
6
7
8
9
|
#![expect(deprecated)] // concat_idents is deprecated
const XY_1: i32 = 10;
fn main() {
const XY_2: i32 = 20;
assert_eq!(10, concat_idents!(X, Y_1)); //~ ERROR `concat_idents` is not stable
assert_eq!(20, concat_idents!(X, Y_2)); //~ ERROR `concat_idents` is not stable
}
|