1
Fork 0

Stabilize destructuring_assignment

This commit is contained in:
Jacob Pratt 2021-11-03 02:50:57 -04:00
parent d594910a2d
commit d95f749f14
No known key found for this signature in database
GPG key ID: B80E19E4662B5AA4
49 changed files with 64 additions and 383 deletions

View file

@ -877,11 +877,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(_)