Add not-null pointer patterns to pattern types

This commit is contained in:
Oli Scherer 2025-01-24 12:19:17 +00:00 committed by Oli Scherer
parent d9f22d289c
commit ad4bd083f3
28 changed files with 353 additions and 22 deletions

View file

@ -485,6 +485,7 @@ impl<'tcx> Stable<'tcx> for ty::Pattern<'tcx> {
end: Some(end.stable(tables, cx)),
include_end: true,
},
ty::PatternKind::NotNull => todo!(),
ty::PatternKind::Or(_) => todo!(),
}
}