]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/inline_cross/auxiliary/macro-vis.rs
Rollup merge of #106397 - compiler-errors:new-solver-impl-wc, r=lcnr
[rust.git] / tests / rustdoc / inline_cross / auxiliary / macro-vis.rs
1 #![crate_name = "qwop"]
2
3 /// (written on a spider's web) Some Macro
4 #[macro_export]
5 macro_rules! some_macro {
6     () => {
7         println!("this is some macro, for sure");
8     };
9 }
10
11 /// Some other macro, to fill space.
12 #[macro_export]
13 macro_rules! other_macro {
14     () => {
15         println!("this is some other macro, whatev");
16     };
17 }
18
19 /// This macro is so cool, it's Super.
20 #[macro_export]
21 macro_rules! super_macro {
22     () => {
23         println!("is it a bird? a plane? no, it's Super Macro!");
24     };
25 }