about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-10-21 03:46:28 +0000
committerbors <bors@rust-lang.org>2024-10-21 03:46:28 +0000
commitf2ba41113d3f86e6bb8a4f22c2967bba63369754 (patch)
treeff4bb5589d1746b4c731210d7e5fa1a58d7a9d47 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentfb32dd41ed278e2d691900248d94aa9bc4409f99 (diff)
parent5cf8107aa61e1b5c65ac5691523a9970e1fd884b (diff)
downloadrust-f2ba41113d3f86e6bb8a4f22c2967bba63369754.tar.gz
rust-f2ba41113d3f86e6bb8a4f22c2967bba63369754.zip
Auto merge of #130950 - compiler-errors:yeet-eval, r=BoxyUwU
Continue to get rid of `ty::Const::{try_}eval*`

This PR mostly does:

* Removes all of the `try_eval_*` and `eval_*` helpers from `ty::Const`, and replace their usages with `try_to_*`.
* Remove `ty::Const::eval`.
* Rename `ty::Const::normalize` to `ty::Const::normalize_internal`. This function is still used in the normalization code itself.
* Fix some weirdness around the `TransmuteFrom` goal.

I'm happy to split it out further; for example, I could probably land the first part which removes the helpers, or the changes to codegen which are more obvious than the changes to tools.

r? BoxyUwU

Part of https://github.com/rust-lang/rust/issues/130704
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions