diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/issues/issue-26237.stderr | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/test/ui/issues/issue-26237.stderr b/src/test/ui/issues/issue-26237.stderr new file mode 100644 index 000000000..91d28a5e1 --- /dev/null +++ b/src/test/ui/issues/issue-26237.stderr @@ -0,0 +1,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`. |