Files
rust/library/core/src
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
..
2020-09-23 13:48:21 +02:00
2020-10-05 22:29:07 +08:00
2020-08-30 17:07:50 +05:30
2020-10-04 22:33:22 +02:00
2020-09-28 14:51:03 -04:00
2020-09-26 05:20:53 +00:00
2020-09-27 10:46:41 -07:00
2020-09-24 09:00:04 +10:00
2020-09-01 19:56:32 +02:00
2020-09-22 23:36:08 +02:00
2020-10-05 23:29:43 +08:00
2020-09-08 22:26:44 -04:00
2020-10-05 21:44:00 -07:00
2020-09-12 15:14:58 +02:00