mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-25 00:48:21 +00:00
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.
23 lines
579 B
Plaintext
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
|
|
|