about summary refs log tree commit diff
path: root/tests/ui/macros/macro-metavar-expr-concat/empty-input.stderr
blob: e95032dd2478dafb467d873a8c23dc842729a801 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
error: expected identifier or string literal
  --> $DIR/empty-input.rs:6:14
   |
LL |     () => { ${concat()} }
   |              ^^^^^^^^^^

error: expected expression, found `$`
  --> $DIR/empty-input.rs:6:13
   |
LL |     () => { ${concat()} }
   |             ^ expected expression
...
LL |     let x = empty!();
   |             -------- in this macro invocation
   |
   = note: this error originates in the macro `empty` (in Nightly builds, run with -Z macro-backtrace for more info)

error: aborting due to 2 previous errors