diff options
| author | Michael Goulet <michael@errs.io> | 2025-05-24 12:07:32 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2025-05-27 11:14:45 +0000 |
| commit | 29c3babd7c03a48b022663beb7ad39bb24bbef36 (patch) | |
| tree | 5cbb67aad5c38e1bc431de42968571537804b776 /compiler/rustc_const_eval/src/util | |
| parent | d76fe154029e03aeb64af721beafdcef856d576a (diff) | |
Rename unpack to kind
Diffstat (limited to 'compiler/rustc_const_eval/src/util')
| -rw-r--r-- | compiler/rustc_const_eval/src/util/type_name.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_const_eval/src/util/type_name.rs b/compiler/rustc_const_eval/src/util/type_name.rs index 30e96ae4143..e8f2728a772 100644 --- a/compiler/rustc_const_eval/src/util/type_name.rs +++ b/compiler/rustc_const_eval/src/util/type_name.rs @@ -125,7 +125,7 @@ impl<'tcx> Printer<'tcx> for AbsolutePathPrinter<'tcx> { ) -> Result<(), PrintError> { print_prefix(self)?; let args = - args.iter().cloned().filter(|arg| !matches!(arg.unpack(), GenericArgKind::Lifetime(_))); + args.iter().cloned().filter(|arg| !matches!(arg.kind(), GenericArgKind::Lifetime(_))); if args.clone().next().is_some() { self.generic_delimiters(|cx| cx.comma_sep(args)) } else { |
