about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-08-21 17:31:43 +0200
committerGitHub <noreply@github.com>2019-08-21 17:31:43 +0200
commit3a1eb34c2ec6fa361e1e1732dd469b06a59952c4 (patch)
tree3fb252d267cd4c08ac26a0f9eadd1c321a64232f /src/libstd/sys/unix/stack_overflow.rs
parentf362387c4015b7d90fc6532ac6e65d6e63499753 (diff)
parent600a64bdb576cde946b71faa6e7ad6d15e84ff39 (diff)
downloadrust-3a1eb34c2ec6fa361e1e1732dd469b06a59952c4.tar.gz
rust-3a1eb34c2ec6fa361e1e1732dd469b06a59952c4.zip
Rollup merge of #63780 - u32i64:issue-63712, r=estebank
Improve diagnostics: break/continue in wrong context

- Fix #63712
- Use `` `break` `` or `` `continue` `` instead of always `break` in `cannot _...`
- Show the enclosing closure or async block we're talking about
- `` `break` outside of loop `` -> `` `break` outside of a loop `` for consistency

r? @estebank
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions