about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-04-16 00:06:10 +0000
committerbors <bors@rust-lang.org>2018-04-16 00:06:10 +0000
commitd6ba1b9b021c408fcad60ee52acf8af5e1b2eb00 (patch)
treef8cce3b0e523366776bad6b968000deeae8b0eb6 /src/rustllvm/RustWrapper.cpp
parent8de5353f75dcde04abe947e0560dc5edd861cf3a (diff)
parent54bba4c45648b02b92dcec74f4230bfa02846d5e (diff)
downloadrust-d6ba1b9b021c408fcad60ee52acf8af5e1b2eb00.tar.gz
rust-d6ba1b9b021c408fcad60ee52acf8af5e1b2eb00.zip
Auto merge of #49719 - mark-i-m:no_sep, r=petrochenkov
Update `?` repetition disambiguation.

**Do not merge** (yet)

This is a test implementation of some ideas from discussion in https://github.com/rust-lang/rust/issues/48075 . This PR
- disallows `?` repetition from taking a separator, since the separator is never used.
- disallows the use of `?` as a separator. This allows patterns like `$(a)?+` to match `+` and `a+` rather than `a?a?a`. This is a _breaking change_, but maybe that's ok? Perhaps a crater run is the right approach?

cc @durka @alexreg @nikomatsakis
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions