diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2020-07-02 15:55:53 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-02 15:55:53 -0700 |
| commit | 2d83cbb8b68d6a83a9f0559d89904a6a1e0bb9e3 (patch) | |
| tree | 57b8be6fab0a2d0eee3d0c8d7f679fc28172986a /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 65342fd341f63bb2b594a47436c7591f2ebc0208 (diff) | |
| parent | cb541dc12cdf2ba14a8f5d210ac7a6b1efa69c22 (diff) | |
| download | rust-2d83cbb8b68d6a83a9f0559d89904a6a1e0bb9e3.tar.gz rust-2d83cbb8b68d6a83a9f0559d89904a6a1e0bb9e3.zip | |
Rollup merge of #73726 - davidtwco:issue-73541-labelled-break-through-closure-async, r=petrochenkov
resolve: disallow labelled breaks/continues through closures/async blocks Fixes #73541. This PR modifies name resolution to prohibit labelled breaks/continues through closures or async blocks, fixing an ICE. In addition, it improves the diagnostics surrounding labelled breaks/continues through closures or async blocks by informing the user if the label exists in an parent scope and telling them that won't work. r? @petrochenkov (resolve) cc @estebank (diagnostic changes) @tmandry (issue is from `wg-async-foundations`)
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
