about summary refs log tree commit diff
path: root/src/liballoc/lib.rs
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-04-17 03:05:19 +0200
committerGitHub <noreply@github.com>2020-04-17 03:05:19 +0200
commit28964b4ef2f165fdc667367bd9ba6b8d4cf81d34 (patch)
tree42e3f3a3456786349d5ca1fbeff0a34221e2ad6a /src/liballoc/lib.rs
parentb2e4d4836f7890fc069d5c62086e1015b9d94ff2 (diff)
parent2edd123a233fff2fbccd17299e0c14d2203e1acc (diff)
downloadrust-28964b4ef2f165fdc667367bd9ba6b8d4cf81d34.tar.gz
rust-28964b4ef2f165fdc667367bd9ba6b8d4cf81d34.zip
Rollup merge of #71220 - cuviper:std_or_patterns, r=Mark-Simulacrum
Dogfood or_patterns in the standard library

We can start using `or_patterns` in the standard library as a step toward stabilization.

cc #54883 @Centril
Diffstat (limited to 'src/liballoc/lib.rs')
-rw-r--r--src/liballoc/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/liballoc/lib.rs b/src/liballoc/lib.rs
index 121c1cde548..a2071844d5d 100644
--- a/src/liballoc/lib.rs
+++ b/src/liballoc/lib.rs
@@ -103,6 +103,7 @@
 #![feature(new_uninit)]
 #![feature(nll)]
 #![feature(optin_builtin_traits)]
+#![feature(or_patterns)]
 #![feature(pattern)]
 #![feature(ptr_internals)]
 #![feature(ptr_offset_from)]