mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +00:00
b7035198e6
Add stable Instance::body() and RustcInternal trait The `Instance::body()` returns a monomorphized body. For that, we had to implement visitor that monomorphize types and constants. We are also introducing the RustcInternal trait that will allow us to convert back from Stable to Internal. Note that this trait is not yet visible for our users as it depends on Tables. We should probably add a new trait that can be exposed. The tests here are very simple, and I'm planning on creating more exhaustive tests in the project-mir repo. But I was hoping to get some feedback here first. r? ```@oli-obk``` |
||
---|---|---|
.. | ||
src | ||
.gitignore | ||
Cargo.toml |