]> git.proxmox.com Git - rustc.git/blame - src/test/ui/feature-gates/feature-gate-extended_key_value_attributes.rs
New upstream version 1.53.0+dfsg1
[rustc.git] / src / test / ui / feature-gates / feature-gate-extended_key_value_attributes.rs
CommitLineData
fc512014
XL
1#[cfg(FALSE)]
2#[attr = multi::segment::path] //~ ERROR arbitrary expressions in key-value attributes are unstable
3#[attr = macro_call!()] //~ ERROR arbitrary expressions in key-value attributes are unstable
4#[attr = 1 + 2] //~ ERROR arbitrary expressions in key-value attributes are unstable
5#[attr = what?] //~ ERROR arbitrary expressions in key-value attributes are unstable
6struct S;
7
8fn main() {}