mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-06 16:41:29 -04:00
2e9a40258c
Revert const hacks and use const closures in std This revealed some smaller bugs in stability checking that I fixed where needed: * const closures use the const stability of their parent * trait method default bodies use the const stability of their trait Otherwise trivial reverts of the const hacks that were added fixes rust-lang/rust#155781