Skip to content

regression: error: attempted to repeat an expression containing no syntax variables matched as repeating at this depth #140221

Closed
@cuviper

Description

@cuviper

Four crater results failed with similar error messages:

[INFO] [stdout] error: attempted to repeat an expression containing no syntax variables matched as repeating at this depth
[INFO] [stdout]    --> rust/test/math/helper_test.rs:103:10
[INFO] [stdout]     |
[INFO] [stdout] 103 |         $( $Arg : tt )*
[INFO] [stdout]     |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: attempted to repeat an expression containing no syntax variables matched as repeating at this depth
[INFO] [stdout]   --> rust/test/math/macro_tools_test.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 13 |         $( $Arg : tt )*
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: attempted to repeat an expression containing no syntax variables matched as repeating at this depth
[INFO] [stdout]    --> rust/test/math/macro_tools_test.rs:589:10
[INFO] [stdout]     |
[INFO] [stdout] 589 |         $( $Arg : tt )*
[INFO] [stdout]     |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: attempted to repeat an expression containing no syntax variables matched as repeating at this depth
[INFO] [stdout]    --> rust/test/math/macro_tools_test.rs:846:10
[INFO] [stdout]     |
[INFO] [stdout] 846 |         $( $Arg : tt )*
[INFO] [stdout]     |          ^^^^^^^^^^^^^
[INFO] [stdout] error: attempted to repeat an expression containing no syntax variables matched as repeating at this depth
[INFO] [stdout]   --> rust/test/meta/meta/for_each_test.rs:15:10
[INFO] [stdout]    |
[INFO] [stdout] 15 |         $( $Arg : tt )*
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: attempted to repeat an expression containing no syntax variables matched as repeating at this depth
[INFO] [stdout]    --> rust/test/meta/meta/for_each_test.rs:593:10
[INFO] [stdout]     |
[INFO] [stdout] 593 |         $( $Arg : tt )*
[INFO] [stdout]     |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: attempted to repeat an expression containing no syntax variables matched as repeating at this depth
[INFO] [stdout]    --> rust/test/meta/meta/for_each_test.rs:851:10
[INFO] [stdout]     |
[INFO] [stdout] 851 |         $( $Arg : tt )*
[INFO] [stdout]     |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: attempted to repeat an expression containing no syntax variables matched as repeating at this depth
[INFO] [stdout]    --> rust/test/meta/./impls_index/impls1_test.rs:100:16
[INFO] [stdout]     |
[INFO] [stdout] 100 |             ( $( $Arg : tt )* ) => { };
[INFO] [stdout]     |                ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: attempted to repeat an expression containing no syntax variables matched as repeating at this depth
[INFO] [stdout]    --> rust/test/meta/./impls_index/impls2_test.rs:100:16
[INFO] [stdout]     |
[INFO] [stdout] 100 |             ( $( $Arg : tt )* ) => { };
[INFO] [stdout]     |                ^^^^^^^^^^^^^
[INFO] [stdout] error: attempted to repeat an expression containing no syntax variables matched as repeating at this depth
[INFO] [stdout]    --> rust/test/dt/type_constructor/single_test.rs:191:10
[INFO] [stdout]     |
[INFO] [stdout] 191 |         $( $Rest : tt )*
[INFO] [stdout]     |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: attempted to repeat an expression containing no syntax variables matched as repeating at this depth
[INFO] [stdout]    --> rust/test/dt/type_constructor/single_test.rs:278:10
[INFO] [stdout]     |
[INFO] [stdout] 278 |         $( $Rest : tt )*
[INFO] [stdout]     |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: attempted to repeat an expression containing no syntax variables matched as repeating at this depth
[INFO] [stdout]    --> rust/test/dt/type_constructor/single_test.rs:380:10
[INFO] [stdout]     |
[INFO] [stdout] 380 |         $( $Rest : tt )*
[INFO] [stdout]     |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: attempted to repeat an expression containing no syntax variables matched as repeating at this depth
[INFO] [stdout]    --> rust/test/dt/type_constructor/pair_test.rs:187:10
[INFO] [stdout]     |
[INFO] [stdout] 187 |         $( $Rest : tt )*
[INFO] [stdout]     |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: attempted to repeat an expression containing no syntax variables matched as repeating at this depth
[INFO] [stdout]    --> rust/test/dt/type_constructor/homo_pair_test.rs:170:10
[INFO] [stdout]     |
[INFO] [stdout] 170 |         $( $Rest : tt )*
[INFO] [stdout]     |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: attempted to repeat an expression containing no syntax variables matched as repeating at this depth
[INFO] [stdout]    --> rust/test/dt/type_constructor/homo_pair_test.rs:380:10
[INFO] [stdout]     |
[INFO] [stdout] 380 |         $( $Rest : tt )*
[INFO] [stdout]     |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: attempted to repeat an expression containing no syntax variables matched as repeating at this depth
[INFO] [stdout]    --> rust/test/dt/type_constructor/homo_pair_test.rs:556:10
[INFO] [stdout]     |
[INFO] [stdout] 556 |         $( $Rest : tt )*
[INFO] [stdout]     |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: attempted to repeat an expression containing no syntax variables matched as repeating at this depth
[INFO] [stdout]   --> rust/test/meta/./meta/for_each_test.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 17 |         $( $Arg : tt )*
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: attempted to repeat an expression containing no syntax variables matched as repeating at this depth
[INFO] [stdout]    --> rust/test/meta/./impls_index/impls1_test.rs:100:16
[INFO] [stdout]     |
[INFO] [stdout] 100 |             ( $( $Arg : tt )* ) => { };
[INFO] [stdout]     |                ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: attempted to repeat an expression containing no syntax variables matched as repeating at this depth
[INFO] [stdout]    --> rust/test/meta/./impls_index/impls2_test.rs:100:16
[INFO] [stdout]     |
[INFO] [stdout] 100 |             ( $( $Arg : tt )* ) => { };
[INFO] [stdout]     |                ^^^^^^^^^^^^^
[INFO] [stdout] error: attempted to repeat an expression containing no syntax variables matched as repeating at this depth
[INFO] [stdout]    --> tests/inc/single/single_parametrized_test.rs:189:10
[INFO] [stdout]     |
[INFO] [stdout] 189 |         $( $Rest : tt )*
[INFO] [stdout]     |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: attempted to repeat an expression containing no syntax variables matched as repeating at this depth
[INFO] [stdout]    --> tests/inc/single/single_parametrized_test.rs:276:10
[INFO] [stdout]     |
[INFO] [stdout] 276 |         $( $Rest : tt )*
[INFO] [stdout]     |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: attempted to repeat an expression containing no syntax variables matched as repeating at this depth
[INFO] [stdout]   --> tests/inc/pair/./pair_parametrized_main_test_only.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 13 |         $( $Rest : tt )*
[INFO] [stdout]    |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: attempted to repeat an expression containing no syntax variables matched as repeating at this depth
[INFO] [stdout]   --> tests/inc/pair/./homo_pair_parametrized_main_test_only.rs:20:10
[INFO] [stdout]    |
[INFO] [stdout] 20 |         $( $Rest : tt )*
[INFO] [stdout]    |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: attempted to repeat an expression containing no syntax variables matched as repeating at this depth
[INFO] [stdout]    --> tests/inc/many/many_parameter_test.rs:125:10
[INFO] [stdout]     |
[INFO] [stdout] 125 |         $( $Rest : tt )*
[INFO] [stdout]     |          ^^^^^^^^^^^^^^

Version it worked on

It most recently worked on: 1.86.0

Version with regression

rustc 1.87.0-beta.5 (386abeb93 2025-04-19) in crater #139827.

@rustbot modify labels: +regression-from-stable-to-beta -regression-untriaged

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-decl-macros-1-2Area: Declarative macros 1.2A-macrosArea: All kinds of macros (custom derive, macro_rules!, proc macros, ..)C-bugCategory: This is a bug.P-highHigh priorityS-has-bisectionStatus: A bisection has been found for this issueS-has-mcveStatus: A Minimal Complete and Verifiable Example has been found for this issueT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions