diff options
| author | Mara Bos <m-ou.se@m-ou.se> | 2020-11-22 23:01:08 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-22 23:01:08 +0100 |
| commit | 41c033b2f7b2eb770bb9b4169e0bbaf051c6c7b1 (patch) | |
| tree | 9ddb38dbd6b6fbe450ab188990998a58c8a67e29 /compiler/rustc_parse/src | |
| parent | d39e09533134bf05aa7e284b1c7eaa24d65043ca (diff) | |
| parent | cf32afcf4832bb407b4201ce747ac2e1185560e6 (diff) | |
| download | rust-41c033b2f7b2eb770bb9b4169e0bbaf051c6c7b1.tar.gz rust-41c033b2f7b2eb770bb9b4169e0bbaf051c6c7b1.zip | |
Rollup merge of #79299 - varkor:stabilise-then, r=m-ou-se
Stabilise `then` Stabilises the lazy variant of https://github.com/rust-lang/rust/issues/64260 now that the FCP [has ended](https://github.com/rust-lang/rust/issues/64260#issuecomment-731636203). I've kept the original feature gate `bool_to_option` for the strict variant (`then_some`), and created a new insta-stable feature gate `lazy_bool_to_option` for `then`.
Diffstat (limited to 'compiler/rustc_parse/src')
| -rw-r--r-- | compiler/rustc_parse/src/lib.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_parse/src/lib.rs b/compiler/rustc_parse/src/lib.rs index f125a12147a..8a6b0230023 100644 --- a/compiler/rustc_parse/src/lib.rs +++ b/compiler/rustc_parse/src/lib.rs @@ -1,6 +1,5 @@ //! The main parser interface. -#![feature(bool_to_option)] #![feature(crate_visibility_modifier)] #![feature(bindings_after_at)] #![feature(iter_order_by)] |
