resolve: disallow label use through closure/async
This commit modifies resolve to disallow `break`/`continue` to labels
through closures or async blocks. This doesn't make sense and should
have been prohibited anyway.
Signed-off-by: NDavid Wood <david@davidtw.co>
Showing
src/test/ui/error-codes/E0767.rs
0 → 100644
src/test/ui/issues/issue-73541.rs
0 → 100644
想要评论请 注册 或 登录