diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2018-02-24 22:21:33 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2018-03-20 02:27:40 +0300 |
| commit | 7c90189e1331cea3eac0ab0e8959f664cffba1ae (patch) | |
| tree | 839b20a700f22400b0be58ba059f84262de7c9c6 /src/libsyntax/parse | |
| parent | a04b88d1941644df01fa5e31dd43e0f57c13d938 (diff) | |
| download | rust-7c90189e1331cea3eac0ab0e8959f664cffba1ae.tar.gz rust-7c90189e1331cea3eac0ab0e8959f664cffba1ae.zip | |
Stabilize slice patterns without `..`
Merge `feature(advanced_slice_patterns)` into `feature(slice_patterns)`
Diffstat (limited to 'src/libsyntax/parse')
| -rw-r--r-- | src/libsyntax/parse/parser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index cb5010a638d..6d8975197d5 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -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; } |
