2018-07-15 21:11:54 +00:00
|
|
|
error[E0618]: expected function, found `{integer}`
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/issue-26237.rs:10:18
|
2018-07-15 21:11:54 +00:00
|
|
|
|
|
|
|
|
LL | $not_a_function($some_argument)
|
2018-11-11 04:46:05 +00:00
|
|
|
| ------------------------------- call expression requires function
|
2018-07-15 21:11:54 +00:00
|
|
|
...
|
|
|
|
LL | let mut value_a = 0;
|
2021-02-17 14:50:59 +00:00
|
|
|
| ----------- `value_a` has type `{integer}`
|
2018-07-15 21:11:54 +00:00
|
|
|
LL | let mut value_b = 0;
|
|
|
|
LL | macro_panic!(value_a, value_b);
|
2018-11-11 04:46:05 +00:00
|
|
|
| ^^^^^^^
|
2018-07-15 21:11:54 +00:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0618`.
|