rust/compiler/rustc_mir_build/src/builder
Stuart Cook 9955b7634d
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`
2025-04-07 22:29:18 +10:00
..
coverageinfo Rename rustc_mir_build::build to builder 2024-12-17 11:41:11 +11:00
custom Remove the is_inline field from PatKind::ExpandedConstant 2025-04-06 17:27:27 +02:00
expr Rollup merge of #138610 - oli-obk:no-sort-hir-ids, r=compiler-errors 2025-04-03 21:18:30 +02:00
matches Rollup merge of #139108 - Nadrieril:simplify-expandedconstant, r=oli-obk 2025-04-07 22:29:18 +10:00
block.rs Split visit_primary_bindings into two variants 2025-03-16 12:10:35 +11:00
cfg.rs Rustfmt 2025-02-08 22:12:13 +00:00
coverageinfo.rs Rename rustc_mir_build::build to builder 2024-12-17 11:41:11 +11:00
misc.rs Rustfmt 2025-02-08 22:12:13 +00:00
mod.rs Upvars HirIds always have the same owner, thus just use an ItemLocalId 2025-04-03 09:22:21 +00:00
scope.rs use slice::contains where applicable 2025-03-28 12:21:21 +00:00