Rename unpack to kind

This commit is contained in:
Michael Goulet
2025-05-24 12:07:32 +00:00
parent d76fe15402
commit 29c3babd7c
80 changed files with 165 additions and 165 deletions

View File

@@ -1784,7 +1784,7 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> {
if !generics.is_own_empty()
&& obligation.predicate.args[generics.parent_count..].iter().any(|&p| {
p.has_non_region_infer()
&& match p.unpack() {
&& match p.kind() {
ty::GenericArgKind::Const(ct) => {
self.infcx.shallow_resolve_const(ct) != ct
}