Skip to content

Commit d718408

Browse files
committed
Add not-null pointer patterns to pattern types
1 parent d2bafc1 commit d718408

File tree

1 file changed

+1
-0
lines changed
  • rustc_public/src/unstable/convert/stable

1 file changed

+1
-0
lines changed

rustc_public/src/unstable/convert/stable/ty.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -485,6 +485,7 @@ impl<'tcx> Stable<'tcx> for ty::Pattern<'tcx> {
485485
end: Some(end.stable(tables, cx)),
486486
include_end: true,
487487
},
488+
ty::PatternKind::NotNull => todo!(),
488489
ty::PatternKind::Or(_) => todo!(),
489490
}
490491
}

0 commit comments

Comments
 (0)