diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-09-07 01:17:46 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-07 01:17:46 +0200 |
| commit | 654598588805550d546991a228bec9a7f8210853 (patch) | |
| tree | 8d67fb798c275e3c0ff1807acf76be82b8ca6d42 /src/rustllvm/CoverageMappingWrapper.cpp | |
| parent | e488c4f187be7f561ff24fcbdc8427767be79f1f (diff) | |
| parent | 791f93c796f7b4f0346eee276baf6e31ed3c81ea (diff) | |
| download | rust-654598588805550d546991a228bec9a7f8210853.tar.gz rust-654598588805550d546991a228bec9a7f8210853.zip | |
Rollup merge of #76274 - scottmcm:fix-76271, r=petrochenkov
Allow try blocks as the argument to return expressions
Fixes #76271
I don't think this needs to be edition-aware (phew) since `return try` in 2015 is also the start of an expression, just with a struct literal instead of a block (`return try { x: 4, y: 5 }`).
Diffstat (limited to 'src/rustllvm/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
