diff options
Diffstat (limited to 'tests/ui/macros/macro-invocation-span-error-7970.stderr')
| -rw-r--r-- | tests/ui/macros/macro-invocation-span-error-7970.stderr | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/ui/macros/macro-invocation-span-error-7970.stderr b/tests/ui/macros/macro-invocation-span-error-7970.stderr new file mode 100644 index 00000000000..beb54e05992 --- /dev/null +++ b/tests/ui/macros/macro-invocation-span-error-7970.stderr @@ -0,0 +1,17 @@ +error: unexpected end of macro invocation + --> $DIR/macro-invocation-span-error-7970.rs:9:5 + | +LL | macro_rules! one_arg_macro { + | -------------------------- when calling this macro +... +LL | one_arg_macro!(); + | ^^^^^^^^^^^^^^^^ missing tokens in macro arguments + | +note: while trying to match meta-variable `$fmt:expr` + --> $DIR/macro-invocation-span-error-7970.rs:3:6 + | +LL | ($fmt:expr) => { + | ^^^^^^^^^ + +error: aborting due to 1 previous error + |
