fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
503 B18 linesraw
1error[E0061]: this function takes 0 arguments but 1 argument was supplied
2  --> $DIR/issue-26094.rs:10:17
3   |
4LL |         $other(None)
5   |                ---- unexpected argument of type `Option<_>`
6...
7LL |     some_macro!(some_function);
8   |                 ^^^^^^^^^^^^^
9   |
10note: function defined here
11  --> $DIR/issue-26094.rs:7:4
12   |
13LL | fn some_function() {}
14   |    ^^^^^^^^^^^^^
15
16error: aborting due to previous error
17
18For more information about this error, try `rustc --explain E0061`.