about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-10-07 19:59:52 +0000
committerbors <bors@rust-lang.org>2020-10-07 19:59:52 +0000
commit4437b4b1509c3c15b41a05489c4bddd2fe30e33f (patch)
tree24a3f1fac288682219ed0781afbb3f4e175e560f /compiler/rustc_codegen_llvm/src
parent28928c750c2c82b1bf27bd6100542f01a377e748 (diff)
parentb5693a39d9d7d1b5404c188899bf7d983c79dfe3 (diff)
downloadrust-4437b4b1509c3c15b41a05489c4bddd2fe30e33f.tar.gz
rust-4437b4b1509c3c15b41a05489c4bddd2fe30e33f.zip
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`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions