rust/compiler/rustc_const_eval/src
Matthias Krüger 9bcf992499
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```
2022-06-30 19:55:54 +02:00
..
const_eval Rollup merge of #98688 - RalfJung:from-mplace, r=oli-obk 2022-06-30 19:55:54 +02:00
interpret Rollup merge of #98688 - RalfJung:from-mplace, r=oli-obk 2022-06-30 19:55:54 +02:00
transform Auto merge of #95576 - DrMeepster:box_erasure, r=oli-obk 2022-06-21 11:00:39 +00:00
util rustc: Panic by default in DefIdTree::parent 2022-05-02 01:56:50 +03:00
lib.rs Improve pretty printing of valtrees for references 2022-06-28 22:38:32 +02:00