blob: 2d9dec76ca8dd46f637786ba0ae7c360ae03f2ac (
plain)
1
2
3
4
5
6
7
8
9
10
|
fn main() {
my_macro!();
}
// TODO: Fix the compiler error by moving the whole definition of this macro.
macro_rules! my_macro {
() => {
println!("Check out my macro!");
};
}
|