diff options
| author | bors <bors@rust-lang.org> | 2021-03-22 19:48:27 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-03-22 19:48:27 +0000 |
| commit | 5d04957a4b4714f71d38326fc96a0b0ef6dc5800 (patch) | |
| tree | 45939952625262270e987784f023dbddeae05635 /compiler/rustc_codegen_llvm/src | |
| parent | 2287a8823d2d731b9bf3064da305fc5c408b24e2 (diff) | |
| parent | b9ecba30bc45af1d5ebe6480ccfb69efc7496a25 (diff) | |
| download | rust-5d04957a4b4714f71d38326fc96a0b0ef6dc5800.tar.gz rust-5d04957a4b4714f71d38326fc96a0b0ef6dc5800.zip | |
Auto merge of #79278 - mark-i-m:stabilize-or-pattern, r=nikomatsakis
Stabilize or_patterns (RFC 2535, 2530, 2175)
closes #54883
This PR stabilizes the or_patterns feature in Rust 1.53.
This is blocked on the following (in order):
- [x] The crater run in https://github.com/rust-lang/rust/pull/78935#issuecomment-731564021
- [x] The resolution of the unresolved questions and a second crater run (https://github.com/rust-lang/rust/pull/78935#issuecomment-735412705)
- It looks like we will need to pursue some sort of edition-based transition for `:pat`.
- [x] Nomination and discussion by T-lang
- [x] Implement new behavior for `:pat` based on consensus (https://github.com/rust-lang/rust/pull/80100).
- [ ] An FCP on stabilization
EDIT: Stabilization report is in https://github.com/rust-lang/rust/pull/79278#issuecomment-772815177
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/lib.rs b/compiler/rustc_codegen_llvm/src/lib.rs index 146c08337fc..de7f5fc6e29 100644 --- a/compiler/rustc_codegen_llvm/src/lib.rs +++ b/compiler/rustc_codegen_llvm/src/lib.rs @@ -12,7 +12,7 @@ #![feature(extern_types)] #![feature(in_band_lifetimes)] #![feature(nll)] -#![feature(or_patterns)] +#![cfg_attr(bootstrap, feature(or_patterns))] #![recursion_limit = "256"] use back::write::{create_informational_target_machine, create_target_machine}; |
