mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-02 15:32:06 +00:00
4437b4b150
Give `impl Trait` in a `const fn` its own feature gate ...previously it was gated under `#![feature(const_fn)]`. I think we actually want to do this in all const-contexts? If so, this should be `#![feature(const_impl_trait)]` instead. I don't think there's any way to make use of `impl Trait` within a `const` initializer. cc #77463 r? `@oli-obk` |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |