Skip to content

Commit 6b36c30

Browse files
committed
Remove old FIXMEs referring to rust-lang#19596
1 parent 96834f0 commit 6b36c30

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

compiler/rustc_hir/src/hir.rs

-2
Original file line numberDiff line numberDiff line change
@@ -990,7 +990,6 @@ pub struct Pat<'hir> {
990990
}
991991

992992
impl<'hir> Pat<'hir> {
993-
// FIXME(#19596) this is a workaround, but there should be a better way
994993
fn walk_short_(&self, it: &mut impl FnMut(&Pat<'hir>) -> bool) -> bool {
995994
if !it(self) {
996995
return false;
@@ -1018,7 +1017,6 @@ impl<'hir> Pat<'hir> {
10181017
self.walk_short_(&mut it)
10191018
}
10201019

1021-
// FIXME(#19596) this is a workaround, but there should be a better way
10221020
fn walk_(&self, it: &mut impl FnMut(&Pat<'hir>) -> bool) {
10231021
if !it(self) {
10241022
return;

compiler/rustc_hir_typeck/src/mem_categorization.rs

-1
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,6 @@ impl<'a, 'tcx> MemCategorizationContext<'a, 'tcx> {
602602
}
603603
}
604604

605-
// FIXME(#19596) This is a workaround, but there should be a better way to do this
606605
fn cat_pattern_<F>(
607606
&self,
608607
mut place_with_id: PlaceWithHirId<'tcx>,

0 commit comments

Comments
 (0)