This is a tracking issue for the RFC "Allow locals and destructuring in const fn" (rust-lang/rfcs#2341). **Steps:** - [x] Implement the RFC (cc @oli-obk - just remove the few checks) - [x] Adjust documentation (https://github.com/rust-lang-nursery/reference/issues/506) - [x] Stabilize (proposal: https://github.com/rust-lang/rust/pull/57175#issuecomment-450593735) - [x] Fix short-circuiting operators https://github.com/rust-lang/rust/issues/53515 (no longer compiles on nightly -- https://github.com/rust-lang/rust/issues/53515#issuecomment-450589193) [stabilization-guide]: https://forge.rust-lang.org/stabilization-guide.html [doc-guide]: https://forge.rust-lang.org/stabilization-guide.html#updating-documentation **Unresolved questions:** None.
This is a tracking issue for the RFC "Allow locals and destructuring in const fn" (rust-lang/rfcs#2341).
Steps:
const_letreference#506)letbindings and destructuring in constants and const fn #57175 (comment))Unresolved questions:
None.