Introduce hir::ConstArgKind::Array

This commit is contained in:
reddevilmidzy 2026-01-07 19:47:02 +09:00
parent 1191620b8c
commit fc06a57a78
8 changed files with 42 additions and 1 deletions

View file

@ -1441,6 +1441,7 @@ impl<'a, 'tcx> EncodeContext<'a, 'tcx> {
// Skip encoding defs for these as they should not have had a `DefId` created
hir::ConstArgKind::Error(..)
| hir::ConstArgKind::Struct(..)
| hir::ConstArgKind::Array(..)
| hir::ConstArgKind::TupleCall(..)
| hir::ConstArgKind::Tup(..)
| hir::ConstArgKind::Path(..)