]> git.proxmox.com Git - rustc.git/blame - src/test/ui/feature-gates/feature-gate-allow-internal-unstable-struct.rs
New upstream version 1.67.1+dfsg1
[rustc.git] / src / test / ui / feature-gates / feature-gate-allow-internal-unstable-struct.rs
CommitLineData
a7813a04
XL
1// checks that this attribute is caught on non-macro items.
2// this needs a different test since this is done after expansion
d9579d0f 3
9fa01778 4#[allow_internal_unstable()] //~ ERROR allow_internal_unstable side-steps
29967ef6 5//~| ERROR attribute should
a7813a04 6struct S;
223e47cc 7
a7813a04 8fn main() {}