rust/src/test/ui/issues/issue-26094.stderr

18 lines
576 B
Plaintext
Raw Normal View History

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
|
= 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`.