about summary refs log tree commit diff
path: root/tests/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-10-21 10:08:17 +0200
committerGitHub <noreply@github.com>2023-10-21 10:08:17 +0200
commitb7035198e63a4898cdbee7aa29ea401742d7bd0a (patch)
tree27fabda8323ee053bce28688c00c1ecca6618f5c /tests/codegen/src-hash-algorithm
parentc5dd84d493019c6852337cdb3c3570b21c8b3711 (diff)
parent6e643e12bb7b0381052696bfe1f7ecbd47769904 (diff)
downloadrust-b7035198e63a4898cdbee7aa29ea401742d7bd0a.tar.gz
rust-b7035198e63a4898cdbee7aa29ea401742d7bd0a.zip
Rollup merge of #116964 - celinval:smir-mono-body, r=oli-obk
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```
Diffstat (limited to 'tests/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions