Skip to content

Commit 7823897

Browse files
committed
Fix tidy
1 parent 7b10eec commit 7823897

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

compiler/rustc_ast_lowering/src/expr.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -900,7 +900,7 @@ impl<'hir> LoweringContext<'_, 'hir> {
900900
eq_sign_span: Span,
901901
assignments: &mut Vec<hir::Stmt<'hir>>,
902902
) -> &'hir hir::Pat<'hir> {
903-
// TODO: Handle `_`, requires changes to the parser
903+
// FIXME: Handle `_`, requires changes to the parser
904904
match &lhs.kind {
905905
// slices:
906906
ExprKind::Array(elements) => {
@@ -932,8 +932,8 @@ impl<'hir> LoweringContext<'_, 'hir> {
932932
}
933933
}
934934
// structs:
935-
// TODO: support `..` here, requires changes to the parser
936-
ExprKind::Struct(path, fields, rest) => {
935+
// FIXME: support `..` here, requires changes to the parser
936+
ExprKind::Struct(path, fields, _rest) => {
937937
let field_pats = self.arena.alloc_from_iter(fields.iter().map(|f| {
938938
let pat = self.destructure_assign(&f.expr, eq_sign_span, assignments);
939939
hir::FieldPat {

compiler/rustc_feature/src/active.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ declare_features! (
611611
(active, unsized_fn_params, "1.49.0", Some(48055), None),
612612

613613
/// Allows the use of destructuring assignments.
614-
(active, destructuring_assignment, "1.49.0", None, None),
614+
(active, destructuring_assignment, "1.49.0", Some(372), None),
615615

616616
// -------------------------------------------------------------------------
617617
// feature-group-end: actual feature gates

0 commit comments

Comments
 (0)