mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-25 09:17:41 +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.
21 lines
632 B
Plaintext
21 lines
632 B
Plaintext
error: depth parameter of meta-variable expression `count` must be less than 4
|
|
--> $DIR/out-of-bounds-arguments.rs:7:14
|
|
|
|
|
LL | ${count($foo, 10)},
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
error: depth parameter of meta-variable expression `index` must be less than 3
|
|
--> $DIR/out-of-bounds-arguments.rs:19:18
|
|
|
|
|
LL | ${index(10)},
|
|
| ^^^^^^^^^^^
|
|
|
|
error: depth parameter of meta-variable expression `len` must be less than 2
|
|
--> $DIR/out-of-bounds-arguments.rs:32:18
|
|
|
|
|
LL | ${len(10)}
|
|
| ^^^^^^^^^
|
|
|
|
error: aborting due to 3 previous errors
|
|
|