mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
16 lines
513 B
Plaintext
16 lines
513 B
Plaintext
error[E0618]: expected function, found `{integer}`
|
|
--> $DIR/issue-26237.rs:10:18
|
|
|
|
|
LL | $not_a_function($some_argument)
|
|
| ------------------------------- call expression requires function
|
|
...
|
|
LL | let mut value_a = 0;
|
|
| ----------- `value_a` has type `{integer}`
|
|
LL | let mut value_b = 0;
|
|
LL | macro_panic!(value_a, value_b);
|
|
| ^^^^^^^
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0618`.
|