We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
repeats
1 parent ae7e328 commit 5ac017eCopy full SHA for 5ac017e
compiler/rustc_expand/src/mbe/transcribe.rs
@@ -117,7 +117,7 @@ pub(super) fn transcribe<'a>(
117
// As we descend in the RHS, we will need to be able to match nested sequences of matchers.
118
// `repeats` keeps track of where we are in matching at each level, with the last element being
119
// the most deeply nested sequence. This is used as a stack.
120
- let mut repeats = Vec::new();
+ let mut repeats: Vec<(usize, usize)> = Vec::new();
121
122
// `result` contains resulting token stream from the TokenTree we just finished processing. At
123
// the end, this will contain the full result of transcription, but at arbitrary points during
0 commit comments