diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-03-22 15:48:32 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-22 15:48:32 +0100 |
| commit | ea44d71f9bc76d2136e20553259d43f55f282db1 (patch) | |
| tree | 792b0ffe15867a29de688c9a94547b8bea5e8ff7 /src/rustllvm/RustWrapper.cpp | |
| parent | 9890d9a9d0e76cecbb6cfad41c0901f248430877 (diff) | |
| parent | 4d30b92e3e57cf606a25c807a9e4ab2b7a4d1064 (diff) | |
| download | rust-ea44d71f9bc76d2136e20553259d43f55f282db1.tar.gz rust-ea44d71f9bc76d2136e20553259d43f55f282db1.zip | |
Rollup merge of #70209 - Centril:recover-quant-closure, r=petrochenkov
parser: recover on `for<'a> |...| body` closures When encountering `for` and `<` is 1 token ahead, interpret this as an explicitly quantified generic closure and recover, rather than attempting to parse a `for` loop. This provides both improved diagnostics as well as an insurance policy for the ability to use this as the syntax for generic closures in the future. As requested by r? @eddyb
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
