rust/tests/ui/macros/metavar-expressions/concat-repetitions.stderr
Trevor Gross cf5eb27910 mbe: Restructure macro_metavar_expr tests
These tests have expanded beyond the RFC, so rename the directory
`rfc-3086-metavar-expr` to `metavar-expressions`. `concat` (which wasn't
part of the RFC) now fits in this group, so merge its tests into the
`metavar-expressions` directory.

Additionally rename some related `issue-*` tests.
2025-06-23 06:25:55 -05:00

23 lines
579 B
Plaintext

error: invalid syntax
--> $DIR/concat-repetitions.rs:14:20
|
LL | const ${concat($a, Z)}: i32 = 3;
| ^^^^^^^^^^^^^^^
error: invalid syntax
--> $DIR/concat-repetitions.rs:22:17
|
LL | read::<${concat($t, $en)}>()
| ^^^^^^^^^^^^^^^^^
error: invalid syntax
--> $DIR/concat-repetitions.rs:22:17
|
LL | read::<${concat($t, $en)}>()
| ^^^^^^^^^^^^^^^^^
|
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
error: aborting due to 3 previous errors