Austin Jones 9b1f6c3cb2
done
2022-01-19 16:26:28 -05:00

19 lines
331 B
Rust

// macros3.rs
// Make me compile, without taking the macro out of the module!
// Execute `rustlings hint macros3` for hints :)
mod macros {
#[macro_export]
macro_rules! my_macro {
() => {
println!("Check out my macro!");
};
}
pub(crate) use my_macro;
}
fn main() {
my_macro!();
}