about summary refs log tree commit diff
path: root/compiler/rustc_resolve/src
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2024-06-04 08:52:15 -0400
committerGitHub <noreply@github.com>2024-06-04 08:52:15 -0400
commit288727ef4279ecec43b2a318d8a22c7ab7d1720b (patch)
tree3f2621b18d7feedbb2d906adb1f3ca61d731e375 /compiler/rustc_resolve/src
parent8272c6d8cc97751011765f807e935b84406fd38a (diff)
parent7e08f80b34608e4aac2fcce1d9e85735b02034fe (diff)
downloadrust-288727ef4279ecec43b2a318d8a22c7ab7d1720b.tar.gz
rust-288727ef4279ecec43b2a318d8a22c7ab7d1720b.zip
Rollup merge of #125967 - BoxyUwU:split_smir_const, r=oli-obk
Split smir `Const` into `TyConst` and `MirConst`

Part of #125958

Building a `smir::Const` currently requires accessing the `Ty<'tcx>` of a `ty::Const`. This will stop being possible in the future. Replicate the split in rustc of having a representation of type level constants and mir constants with the latter being able to store the former. Ideally we wouldnt have `MirConst::Ty` but :woman_shrugging:

r? `@oli-obk`
Diffstat (limited to 'compiler/rustc_resolve/src')
0 files changed, 0 insertions, 0 deletions