1
Fork 0
rust/compiler/rustc_mir/src
Yuki Okushi 36f1ed6de2
Rollup merge of #85850 - bjorn3:less_feature_gates, r=jyn514
Remove unused feature gates

The first commit removes a usage of a feature gate, but I don't expect it to be controversial as the feature gate was only used to workaround a limitation of rust in the past. (closures never being `Clone`)

The second commit uses `#[allow_internal_unstable]` to avoid leaking the `trusted_step` feature gate usage from inside the index newtype macro. It didn't work for the `min_specialization` feature gate though.

The third commit removes (almost) all feature gates from the compiler that weren't used anyway.
2021-06-04 13:42:54 +09:00
..
borrow_check Add Ty::is_union predicate and use it 2021-06-02 17:09:17 +02:00
const_eval Emit a hard error when a panic occurs during const-eval 2021-05-30 11:59:54 -05:00
dataflow Add Ty::is_union predicate and use it 2021-06-02 17:09:17 +02:00
interpret Restrict access to crate_name. 2021-06-02 18:35:32 +02:00
monomorphize don't trim paths in collector PME message 2021-05-27 22:28:04 +02:00
transform Auto merge of #85952 - JohnTitor:rollup-r00gu9q, r=JohnTitor 2021-06-03 08:02:39 +00:00
util Remove CrateNum::ReservedForIncrCompCache 2021-05-30 14:33:16 +02:00
lib.rs Remove unused feature gates 2021-05-31 13:55:43 +02:00
shim.rs Prepare mir::Constant for ty::Const only supporting valtrees 2021-03-12 12:43:54 +00:00