summary refs log tree commit diff
path: root/library/alloc/src/lib.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2021-12-15 08:36:19 +0100
committerGitHub <noreply@github.com>2021-12-15 08:36:19 +0100
commitd258e92900739e7798ed4fccfbbb8cb0fe519acd (patch)
tree455360166467e151049f5a323a0a1520f383a10d /library/alloc/src/lib.rs
parent195e931b02b69bbce1bcf4632f4e2d5603ef006b (diff)
parentd95f749f14a84006273930e155a76259c22660c5 (diff)
downloadrust-d258e92900739e7798ed4fccfbbb8cb0fe519acd.tar.gz
rust-d258e92900739e7798ed4fccfbbb8cb0fe519acd.zip
Rollup merge of #90521 - jhpratt:stabilize-destructuring_assignment, r=jackh726,pnkfelix
Stabilize `destructuring_assignment`

Closes #71126

- [Stabilization report](https://github.com/rust-lang/rust/issues/71126#issuecomment-941148058)
- [Completed FCP](https://github.com/rust-lang/rust/issues/71126#issuecomment-954914819)

`@rustbot` label +F-destructuring-assignment +T-lang
Also needs +relnotes but I don't have permission to add that tag.
Diffstat (limited to 'library/alloc/src/lib.rs')
-rw-r--r--library/alloc/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/src/lib.rs b/library/alloc/src/lib.rs
index e8a932835f6..600862c4224 100644
--- a/library/alloc/src/lib.rs
+++ b/library/alloc/src/lib.rs
@@ -136,7 +136,7 @@
 #![feature(cfg_target_has_atomic)]
 #![feature(const_fn_trait_bound)]
 #![feature(const_trait_impl)]
-#![feature(destructuring_assignment)]
+#![cfg_attr(bootstrap, feature(destructuring_assignment))]
 #![feature(dropck_eyepatch)]
 #![feature(exclusive_range_pattern)]
 #![feature(fundamental)]