]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/proc-macro/attribute-after-derive-feature-gate.rs
1 // gate-test-macro_attributes_in_derive_output
2 // aux-build: test-macros.rs
4 #![feature(proc_macro_hygiene)]
5 #![feature(stmt_expr_attributes)]
8 extern crate test_macros
;
11 #[empty_attr] //~ ERROR macro attributes in `#[derive]` output are unstable
18 #[empty_attr] //~ ERROR macro attributes in `#[derive]` output are unstable
25 field
: [u8; #[identity_attr] 10], //~ ERROR macro attributes in `#[derive]` output are unstable
31 #[derive(Empty)] // OK, not gated