rust/compiler/rustc_span/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
..
analyze_source_file
source_map
symbol
analyze_source_file.rs
caching_source_map_view.rs
def_id.rs Add some docs to rustdoc::clean::inline and def_id functions 2020-10-06 09:46:00 +00:00
edition.rs
fatal_error.rs
hygiene.rs Rollup merge of #77263 - bugadani:cleanup, r=lcnr 2020-09-27 18:37:29 +02:00
lib.rs Updates to experimental coverage counter injection 2020-10-05 08:02:58 -07:00
source_map.rs Updates to experimental coverage counter injection 2020-10-05 08:02:58 -07:00
span_encoding.rs
symbol.rs Remove fn from feature name 2020-10-05 21:44:00 -07:00
tests.rs