Stabilize slice patterns without ..
Merge `feature(advanced_slice_patterns)` into `feature(slice_patterns)`
This commit is contained in:
parent
a04b88d194
commit
7c90189e13
75 changed files with 125 additions and 227 deletions
|
@ -3618,7 +3618,7 @@ impl<'a> Parser<'a> {
|
|||
slice = Some(P(Pat {
|
||||
id: ast::DUMMY_NODE_ID,
|
||||
node: PatKind::Wild,
|
||||
span: self.span,
|
||||
span: self.prev_span,
|
||||
}));
|
||||
before_slice = false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue