rust/library/core
bors 4437b4b150 Auto merge of #77464 - ecstatic-morse:const-fn-impl-trait, r=oli-obk
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`
2020-10-07 19:59:52 +00:00
..
benches Use more efficient scheme for display u128/i128 2020-09-28 20:38:38 +00:00
src Auto merge of #77464 - ecstatic-morse:const-fn-impl-trait, r=oli-obk 2020-10-07 19:59:52 +00:00
tests Auto merge of #77594 - timvermeulen:chain_advance_by, r=scottmcm 2020-10-06 10:17:48 +00:00
Cargo.toml