Give impl Trait in a const fn its own feature gate
#77464
Merged
impl Trait in a const fn its own feature gate
#77464