mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-30 04:56:25 +03:00
9f4559c345
Require const stability attribute on all stable functions that are `const` This PR requires all stable functions (of all kinds) that are `const fn` to have a `#[rustc_const_stable]` or `#[rustc_const_unstable]` attribute. Stability was previously implied if omitted; a follow-up PR is planned to change the fallback to be unstable.