]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-26094.rs
b9433849853a87a5e0d6686cb902e6d67e930858
[rust.git] / src / test / ui / issues / issue-26094.rs
1 macro_rules! some_macro {
2     ($other: expr) => ({
3         $other(None)
4         //~^ this function takes 0 parameters but 1 parameter was supplied
5     })
6 }
7
8 fn some_function() {}
9
10 fn main() {
11     some_macro!(some_function);
12     //~^ in this expansion of some_macro!
13 }