diff options
| author | Jacob Pratt <jacob@jhpratt.dev> | 2022-02-28 15:33:50 -0500 |
|---|---|---|
| committer | Jacob Pratt <jacob@jhpratt.dev> | 2022-04-07 20:03:19 -0400 |
| commit | abf2b4c04d4d6a0a2c49562fde33ae1d46e6ead7 (patch) | |
| tree | fae47ee4253c03fa22ed4d414d811b2fd823d719 /compiler/rustc_feature/src/lib.rs | |
| parent | e745b4ddbd05026c75aae4506aef39fdfe1603c5 (diff) | |
| download | rust-abf2b4c04d4d6a0a2c49562fde33ae1d46e6ead7.tar.gz rust-abf2b4c04d4d6a0a2c49562fde33ae1d46e6ead7.zip | |
Stabilize `derive_default_enum`
Diffstat (limited to 'compiler/rustc_feature/src/lib.rs')
| -rw-r--r-- | compiler/rustc_feature/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_feature/src/lib.rs b/compiler/rustc_feature/src/lib.rs index bfc537cfae2..940c4ecdcc2 100644 --- a/compiler/rustc_feature/src/lib.rs +++ b/compiler/rustc_feature/src/lib.rs @@ -11,7 +11,7 @@ //! even if it is stabilized or removed, *do not remove it*. Instead, move the //! symbol to the `accepted` or `removed` modules respectively. -#![feature(derive_default_enum)] +#![cfg_attr(bootstrap, feature(derive_default_enum))] #![feature(once_cell)] mod accepted; |
