Debian Codegraph @

gcc/testsuite/rust/compile/macros/proc/attribute_private.rs

raw
1 // { dg-additional-options "-frust-crate-type=proc-macro" }
2
3 #[proc_macro_attribute]
4 fn my_macro() {} // { dg-error "functions tagged with .#.proc_macro_attribute.. must be .pub." }