summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-26237.stderr
blob: 91d28a5e1e1eff70dd6b4a5a8bae5acfc7fa7ff0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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 previous error

For more information about this error, try `rustc --explain E0618`.