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.
This commit is contained in:
commit
d258e92900
49 changed files with 64 additions and 383 deletions
|
@ -878,11 +878,6 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
|
|||
"let ".to_string(),
|
||||
Applicability::MachineApplicable,
|
||||
);
|
||||
if !self.sess().features_untracked().destructuring_assignment {
|
||||
// We already emit an E0658 with a suggestion for `while let`, this is
|
||||
// redundant output.
|
||||
err.delay_as_bug();
|
||||
}
|
||||
break;
|
||||
}
|
||||
hir::Node::Item(_)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue