mir::Constant::user_ty
It's not necessary yet, but it may become necessary with things like lazy normalization.
For more information about how rustc works, see the rustc dev guide.