-
Notifications
You must be signed in to change notification settings - Fork 13.3k
regression: error: attempted to repeat an expression containing no syntax variables matched as repeating at this depth #140221
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
searched nightlies: from nightly-2025-02-15 to nightly-2025-04-24 bisected with cargo-bisect-rustc v0.6.9Host triple: aarch64-unknown-linux-gnu cargo bisect-rustc --regress=error -- test -- --skip=macro_tools_test::for_each |
For me locally [email protected] already doesn't pass all tests on stable (cloned Wandalen/wTools@9ae6281) because...
|
Bisects to #138083 cc @nnethercote 🤔 Should we also include compat relnotes for #138083? Initially I thought it was also #137517, but this instead bisects to #138083. |
EDIT: ah, I see, this is discussed in crater run analysis for #124141. Might be considered "accepted breakage" but Nicholas might want to double-check. |
from the hackmd in the above comment, the mcve looks like: // Produces a macro `produce_item` that, when called, produces `$item`.
macro_rules! tests_impls {
($item: item) => {
macro_rules! produce_item {
() => { $item };
}
};
}
// Produce a macro `produce_item` that, when called, produces a macro `_m`.
tests_impls! {
macro_rules! _m {
($( $arg:tt )*) => { $( $arg )* };
}
}
produce_item!(); @rustbot label: -E-needs-mcve +S-has-mcve |
Four crater results failed with similar error messages:
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
The text was updated successfully, but these errors were encountered: