2018-07-15 16:11:54 -05:00
|
|
|
error[E0061]: this function takes 0 parameters but 1 parameter was supplied
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/issue-26094.rs:3:9
|
2018-07-15 16:11:54 -05:00
|
|
|
|
|
|
|
|
LL | $other(None)
|
|
|
|
| ^^^^^^^^^^^^ expected 0 parameters
|
|
|
|
...
|
|
|
|
LL | fn some_function() {}
|
|
|
|
| ------------------ defined here
|
|
|
|
...
|
|
|
|
LL | some_macro!(some_function);
|
|
|
|
| --------------------------- in this macro invocation
|
2019-12-16 07:56:47 -06:00
|
|
|
|
|
|
|
|
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-07-15 16:11:54 -05:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0061`.
|