Sign in
fuchsia
/
third_party
/
rust
/
fad27df3e7aafbd83341df34d397fe4015f69679
/
.
/
src
/
test
/
ui
/
feature-gates
/
feature-gate-concat_idents3.rs
blob: 2882e7a8008362bf6bf63d89480403c0c7295f65 [
file
] [
log
] [
blame
]
// gate-test-concat_idents
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
}