2018-07-15 16:11:54 -05:00
|
|
|
error[E0618]: expected function, found `{integer}`
|
2018-11-10 22:46:05 -06:00
|
|
|
--> $DIR/issue-26237.rs:20:18
|
2018-07-15 16:11:54 -05:00
|
|
|
|
|
|
|
|
LL | $not_a_function($some_argument)
|
2018-11-10 22:46:05 -06:00
|
|
|
| ------------------------------- call expression requires function
|
2018-07-15 16:11:54 -05:00
|
|
|
...
|
|
|
|
LL | let mut value_a = 0;
|
|
|
|
| ----------- `{integer}` defined here
|
|
|
|
LL | let mut value_b = 0;
|
|
|
|
LL | macro_panic!(value_a, value_b);
|
2018-11-10 22:46:05 -06:00
|
|
|
| ^^^^^^^
|
2018-07-15 16:11:54 -05:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0618`.
|