Skip to content

Commit 1a26dbf

Browse files
committed
Auto merge of rust-lang#5938 - ebroto:sync-from-rust, r=ebroto
Rustup r? @ghost changelog: none
2 parents 4104611 + 146e352 commit 1a26dbf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clippy_lints/src/unnested_or_patterns.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,7 @@ fn take_pat(from: &mut Pat) -> Pat {
340340
id: DUMMY_NODE_ID,
341341
kind: Wild,
342342
span: DUMMY_SP,
343+
tokens: None,
343344
};
344345
mem::replace(from, dummy)
345346
}

0 commit comments

Comments
 (0)