1 2 3 4 5 6 7 8 9 10 11 12
// check-pass // aux-build:test-macros.rs #[macro_use] extern crate test_macros; #[identity_attr] struct Foo; fn main() { let _ = Foo; }