Debian Codegraph @

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

raw
1 // { dg-additional-options "-frust-crate-type=proc-macro" }
2
3 pub fn wild_pub_function() {} // { dg-error ".proc-macro. crate types currently cannot export any items other than functions tagged with .#.proc_macro.., .#.proc_macro_derive.. or .#.proc_macro_attribute.." }