We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6fc2c48 commit ac64a53Copy full SHA for ac64a53
compiler/rustc_parse/src/parser/mod.rs
@@ -1241,8 +1241,7 @@ impl<'a> Parser<'a> {
1241
match self.token.kind {
1242
token::OpenDelim(..) => {
1243
// Grab the tokens within the delimiters.
1244
- let tree_cursor = &self.token_cursor.tree_cursor;
1245
- let stream = tree_cursor.stream.clone();
+ let stream = self.token_cursor.tree_cursor.stream.clone();
1246
let (_, delim, span) = *self.token_cursor.stack.last().unwrap();
1247
1248
// Advance the token cursor through the entire delimited
0 commit comments