diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2014-09-06 13:52:07 -0700 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2014-09-08 11:04:14 -0700 |
| commit | 22179f49e573edf3616895419f1acd8b93be9cb9 (patch) | |
| tree | f1528efbde03fb923da106b56318154915e47435 /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | 6f34760e4173dda94162502153fe4c5a2a96fc9d (diff) | |
| download | rust-22179f49e573edf3616895419f1acd8b93be9cb9.tar.gz rust-22179f49e573edf3616895419f1acd8b93be9cb9.zip | |
librustc: Feature gate subslice matching in non-tail positions.
This breaks code that uses the `..xs` form anywhere but at the end of a
slice. For example:
match foo {
[ 1, ..xs, 2 ]
[ ..xs, 1, 2 ]
}
Add the `#![feature(advanced_slice_patterns)]` gate to reenable the
syntax.
RFC #54.
Closes #16951.
[breaking-change]
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
