Rollup merge of #139108 - Nadrieril:simplify-expandedconstant, r=oli-obk

Simplify `thir::PatKind::ExpandedConstant`

I made it a bit less ad-hoc. In particular, I removed `is_inline: bool` that was just caching the output of `tcx.def_kind(def_id)`. This makes inline consts a tiny bit less special in patterns.

r? `@oli-obk`

cc `@Zalathar`
This commit is contained in:
Stuart Cook 2025-04-07 22:29:18 +10:00 committed by GitHub
commit 2b5317b034
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

Diff content is not available