]>
git.proxmox.com Git - rustc.git/blob - src/tools/clippy/tests/ui/auxiliary/macro_use_helper.rs
1 extern crate macro_rules
;
5 macro_rules
! pub_macro
{
7 let _
= "hello Mr. Vonnegut";
15 // this will stick in `inner` module
16 pub use macro_rules
::foofoo
;
17 pub use macro_rules
::try_err
;
20 pub use macro_rules
::string_add
;
25 macro_rules
! inner_mod_macro
{
35 macro_rules
! function_macro
{
45 macro_rules
! ty_macro
{
52 pub(super) mod private_inner
{
54 macro_rules
! pub_in_private_macro
{
56 let $name
= String
::from("secrets and lies");