Skip to content

Commit 8a3fbab

Browse files
committed
fixup! fixmes
1 parent 9ff6ae5 commit 8a3fbab

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • compiler/rustc_mir_build/src/builder/matches

compiler/rustc_mir_build/src/builder/matches/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,7 @@ impl<'a, 'tcx> Builder<'a, 'tcx> {
698698
}
699699
}
700700

701-
// FIXME(guard_patterns)
701+
// FIXME(guard_patterns): this scope handling is wrong
702702
let match_scope = self.local_scope();
703703
self.bind_pattern(
704704
self.source_info(irrefutable_pat.span),
@@ -2430,7 +2430,7 @@ impl<'a, 'tcx> Builder<'a, 'tcx> {
24302430
}
24312431
}
24322432

2433-
// FIXME(guard_patterns)
2433+
// FIXME(guard_patterns): this scope handling is wrong
24342434
let match_scope = self.local_scope();
24352435
let success = self.bind_pattern(
24362436
self.source_info(pat.span),

0 commit comments

Comments
 (0)