diff options
| author | Jubilee <46493976+workingjubilee@users.noreply.github.com> | 2021-10-04 13:58:17 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-04 13:58:17 -0700 |
| commit | 9866b090f48fc5f45ca9c80618976e41987fc25d (patch) | |
| tree | 2684f9670ab0a20213c782cf681e637d30095459 /compiler/rustc_data_structures | |
| parent | 3d4467dfcc512fcb2dc2454c9cf77c23ff3de343 (diff) | |
| parent | bce86219830e386d1247364b6018ede2e85d3036 (diff) | |
| download | rust-9866b090f48fc5f45ca9c80618976e41987fc25d.tar.gz rust-9866b090f48fc5f45ca9c80618976e41987fc25d.zip | |
Rollup merge of #89508 - jhpratt:stabilize-const_panic, r=joshtriplett
Stabilize `const_panic` Closes #51999 FCP completed in #89006 ```@rustbot``` label +A-const-eval +A-const-fn +T-lang cc ```@oli-obk``` for review (not `r?`'ing as not on lang team)
Diffstat (limited to 'compiler/rustc_data_structures')
| -rw-r--r-- | compiler/rustc_data_structures/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_data_structures/src/lib.rs b/compiler/rustc_data_structures/src/lib.rs index 370e8ffed72..94e115ed498 100644 --- a/compiler/rustc_data_structures/src/lib.rs +++ b/compiler/rustc_data_structures/src/lib.rs @@ -11,7 +11,7 @@ #![feature(associated_type_bounds)] #![feature(auto_traits)] #![feature(bool_to_option)] -#![feature(const_panic)] +#![cfg_attr(bootstrap, feature(const_panic))] #![feature(control_flow_enum)] #![feature(core_intrinsics)] #![feature(extend_one)] |
