# Why does Rust not support goto statements?

**URL:** <https://internals.rust-lang.org/t/why-does-rust-not-support-goto-statements/15257>\
**Category:** language design\
**Created:** [September 2, 2021, 2:20am UTC](https://internals.rust-lang.org/t/why-does-rust-not-support-goto-statements/15257 "2021-09-02T02:20:11Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![tema2](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/tema2/32/6498_2.png) [@tema2](https://internals.rust-lang.org/u/tema2)\
**Post date:** [September 7, 2021, 11:41am UTC](https://internals.rust-lang.org/t/why-does-rust-not-support-goto-statements/15257/15 "2021-09-07T11:41:02Z")

</div>

Related thing is non-local control flow (and effects), see my [thread](https://internals.rust-lang.org/t/an-idea-for-tcp-closures-and-rusts-effect-system/15223/48)

---

_[View the full topic](https://internals.rust-lang.org/t/why-does-rust-not-support-goto-statements/15257)._
