about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-06-30 19:55:54 +0200
committerGitHub <noreply@github.com>2022-06-30 19:55:54 +0200
commit9bcf99249930c8738451e8a1cd7c753b352c6e91 (patch)
treecc22f05700bf598257e55fe1f147376d7f18770c /compiler/rustc_codegen_llvm/src
parent783989098b48d864b7bd9104dd08f13fc1ccb8c8 (diff)
parentf60ec83779a7c41e1a4e8378017ba68669eb81ee (diff)
downloadrust-9bcf99249930c8738451e8a1cd7c753b352c6e91.tar.gz
rust-9bcf99249930c8738451e8a1cd7c753b352c6e91.zip
Rollup merge of #98688 - RalfJung:from-mplace, r=oli-obk
interpret: add From<&MplaceTy> for PlaceTy

We have a similar instance for `&MPlaceTy` to `OpTy`. Also add the same for `&mut`.

This avoids having to write `&(*place).into()`, which we have a few times here and at least twice in Miri (and it comes up again in my current patch).

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