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_mir_dataflow/src | |
| 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_mir_dataflow/src')
| -rw-r--r-- | compiler/rustc_mir_dataflow/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_mir_dataflow/src/lib.rs b/compiler/rustc_mir_dataflow/src/lib.rs index 72c4e27cbea..402391b87ea 100644 --- a/compiler/rustc_mir_dataflow/src/lib.rs +++ b/compiler/rustc_mir_dataflow/src/lib.rs @@ -2,7 +2,7 @@ #![feature(bool_to_option)] #![feature(box_patterns)] #![feature(box_syntax)] -#![feature(const_panic)] +#![cfg_attr(bootstrap, feature(const_panic))] #![feature(exact_size_is_empty)] #![feature(in_band_lifetimes)] #![feature(iter_zip)] |
