about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorMatthew Jasper <mjjasper1@gmail.com>2025-01-31 18:08:09 +0000
committerMatthew Jasper <mjjasper1@gmail.com>2025-02-17 11:33:07 +0000
commitcde8c6f52bf83f3976302a7f7508c962ed6d15ff (patch)
treea902f8a89592e97bd76d8fe3081df81285e5b2ff /compiler/rustc_codegen_llvm/src/errors.rs
parent136f777ae1dbdfee2664503468a9a3231d50925a (diff)
downloadrust-cde8c6f52bf83f3976302a7f7508c962ed6d15ff.tar.gz
rust-cde8c6f52bf83f3976302a7f7508c962ed6d15ff.zip
Handle normalization failures in drop elaboration
Drop elaboration looks at fields of a type, which may error when we try
to normalize them. Borrowck will have detected this if HIR typeck
didn't, but we don't delete the MIR body for errors in borrowck so
still have to handle this happening in drop elaboration by checking
whether an error has been emitted.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions