about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/back/write.rs
diff options
context:
space:
mode:
authorStuart Cook <Zalathar@users.noreply.github.com>2025-04-07 22:29:18 +1000
committerGitHub <noreply@github.com>2025-04-07 22:29:18 +1000
commit9955b7634d3d830d58f2849c5fcce5094ff448f8 (patch)
tree42779970d1618ba2bcd0cdec785ff276de9fa8ee /compiler/rustc_codegen_llvm/src/back/write.rs
parent82df6229b6383ba1395eb0599309b30e257c3c3b (diff)
parentd912c0352516bc8196437bbf00566a1df985b621 (diff)
downloadrust-9955b7634d3d830d58f2849c5fcce5094ff448f8.tar.gz
rust-9955b7634d3d830d58f2849c5fcce5094ff448f8.zip
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`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/back/write.rs')
0 files changed, 0 insertions, 0 deletions