about summary refs log tree commit diff
path: root/compiler/rustc_codegen_cranelift/example/std_example.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-10-02 17:10:45 +0200
committerGitHub <noreply@github.com>2024-10-02 17:10:45 +0200
commit2e0db79f0b6ef4248d22b50b090c42fc77122cd0 (patch)
tree07985f73c10f4cebb89156bd08149891beb89711 /compiler/rustc_codegen_cranelift/example/std_example.rs
parent49f17ff74e0abe51daadaff37f796ccc68e2ed50 (diff)
parente9b2d09ad7905c51e7795730147f8d2303fb4bbd (diff)
downloadrust-2e0db79f0b6ef4248d22b50b090c42fc77122cd0.tar.gz
rust-2e0db79f0b6ef4248d22b50b090c42fc77122cd0.zip
Rollup merge of #131150 - bvanjoi:issue-128327, r=chenyukang
only query `params_in_repr` if def kind is adt

Fixes #128327

`params_in_repr` was only stored in `encode_info_for_adt`, so we only query it when the def kind belongs to them.

https://github.com/rust-lang/rust/blob/9e3e5174462afaf6c3b9db9b35c6d1934521848a/compiler/rustc_metadata/src/rmeta/encoder.rs#L1566-L1567
Diffstat (limited to 'compiler/rustc_codegen_cranelift/example/std_example.rs')
0 files changed, 0 insertions, 0 deletions