2020-02-05 23:08:07 -06:00
|
|
|
error[E0061]: this function takes 0 arguments but 1 argument was supplied
|
|
|
|
--> $DIR/issue-26094.rs:10:17
|
2018-07-15 16:11:54 -05:00
|
|
|
|
|
|
|
|
LL | $other(None)
|
2020-02-05 23:08:07 -06:00
|
|
|
| ---- supplied 1 argument
|
2018-07-15 16:11:54 -05:00
|
|
|
...
|
|
|
|
LL | some_macro!(some_function);
|
2020-02-05 23:08:07 -06:00
|
|
|
| ^^^^^^^^^^^^^ expected 0 arguments
|
2020-09-23 21:43:32 -05:00
|
|
|
|
|
|
|
|
note: function defined here
|
|
|
|
--> $DIR/issue-26094.rs:7:4
|
|
|
|
|
|
|
|
|
LL | fn some_function() {}
|
|
|
|
| ^^^^^^^^^^^^^
|
2018-07-15 16:11:54 -05:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0061`.
|