Inline const expressions have been stabilised
Open link in next tab
Stabilise inline_const by nbdd0121 · Pull Request #104087 · rust-lang/rust
https://github.com/rust-lang/rust/pull/104087
Stabilisation Report Summary This PR will stabilise inline_const feature in expression position. inline_const_pat is still unstable and will not be stabilised. The feature will allow code like this...