fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
464 B15 linesraw
1error[E0061]: this function takes 0 parameters but 1 parameter was supplied
2  --> $DIR/issue-26094.rs:3:9
3   |
4LL |         $other(None)
5   |         ^^^^^^^^^^^^ expected 0 parameters
6...
7LL | fn some_function() {}
8   | ------------------ defined here
9...
10LL |     some_macro!(some_function);
11   |     --------------------------- in this macro invocation
12
13error: aborting due to previous error
14
15For more information about this error, try `rustc --explain E0061`.