about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorOli Scherer <github333195615777966@oli-obk.de>2024-12-19 08:57:49 +0000
committerOli Scherer <github333195615777966@oli-obk.de>2025-01-09 08:49:39 +0000
commit91b6b4e038b339982f8f7b79325a44f1a8cbb511 (patch)
tree5f89436c56817c04f554a4451ef1ea53b17c526d /compiler/rustc_codegen_llvm/src/errors.rs
parent65d7296fc9868af121adb5e07358a3815a80a7a1 (diff)
downloadrust-91b6b4e038b339982f8f7b79325a44f1a8cbb511.tar.gz
rust-91b6b4e038b339982f8f7b79325a44f1a8cbb511.zip
Harden `Ty` constructors a bit in debug mode
`Ty::new` wasn't used anywhere outside this module

`Ty::new_adt` shouldn't ever be used for anything but adts. This hasn't caught any bugs, but seems good to check anyway
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions