Remove old FIXMEs referring to #19596

This commit is contained in:
Deadbeef 2023-02-20 06:12:56 +00:00
parent 96834f0231
commit 6b36c3078a
2 changed files with 0 additions and 3 deletions

View File

@ -990,7 +990,6 @@ pub struct Pat<'hir> {
}
impl<'hir> Pat<'hir> {
// FIXME(#19596) this is a workaround, but there should be a better way
fn walk_short_(&self, it: &mut impl FnMut(&Pat<'hir>) -> bool) -> bool {
if !it(self) {
return false;
@ -1018,7 +1017,6 @@ impl<'hir> Pat<'hir> {
self.walk_short_(&mut it)
}
// FIXME(#19596) this is a workaround, but there should be a better way
fn walk_(&self, it: &mut impl FnMut(&Pat<'hir>) -> bool) {
if !it(self) {
return;

View File

@ -602,7 +602,6 @@ impl<'a, 'tcx> MemCategorizationContext<'a, 'tcx> {
}
}
// FIXME(#19596) This is a workaround, but there should be a better way to do this
fn cat_pattern_<F>(
&self,
mut place_with_id: PlaceWithHirId<'tcx>,