Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 82bf341

Browse files
committedAug 18, 2022
Auto merge of #100538 - Nilstrieb:revert-let-chains-beta, r=compiler-errors
Revert let_chains stabilization This reverts commit 3266460. It was discovered in #100513 that they are not implemented correctly, which does not make them ready for stabilization. The merge in the let parsing had a few conflicts, cc `@compiler-errors` and `@c410-f3r` to make sure I did it correctly (alternatively I could also revert `@compiler-errors'` let diagnostic improvement PR as well if a simpler revert is desired). r? `@Mark-Simulacrum`
2 parents fb2194a + 11a367a commit 82bf341

File tree

60 files changed

+789
-439
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+789
-439
lines changed
 

‎compiler/rustc_ast/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#![feature(const_trait_impl)]
1515
#![feature(if_let_guard)]
1616
#![feature(label_break_value)]
17-
#![cfg_attr(bootstrap, feature(let_chains))]
17+
#![feature(let_chains)]
1818
#![feature(min_specialization)]
1919
#![feature(negative_impls)]
2020
#![feature(slice_internals)]

‎compiler/rustc_ast_lowering/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
//! in the HIR, especially for multiple identifiers.
3232
3333
#![feature(box_patterns)]
34-
#![cfg_attr(bootstrap, feature(let_chains))]
34+
#![feature(let_chains)]
3535
#![feature(let_else)]
3636
#![feature(never_type)]
3737
#![recursion_limit = "256"]

0 commit comments

Comments
 (0)
Please sign in to comment.