mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-28 11:38:01 +00:00
I'm not really sure what is wrong here, but I was getting load type mismatches in the debuginfo code (which is the only place using this function). Replacing the project_deref() implementation with a generic load_operand + deref did the trick.
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.