about summary refs log tree commit diff
path: root/compiler/rustc_interface/src
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-04-06 03:39:08 +0200
committerGitHub <noreply@github.com>2022-04-06 03:39:08 +0200
commitacdba55b5371f1f64912d42c98edb5149d5e67dc (patch)
tree9d76a4b6e916688f24572b7243131a8ea46b8b24 /compiler/rustc_interface/src
parent84e1aa2d59f6e772c86a007a6817312e729ff2b6 (diff)
parentfcdfc3e1c1c3da9f765364f73d306bf5d4fd6a63 (diff)
downloadrust-acdba55b5371f1f64912d42c98edb5149d5e67dc.tar.gz
rust-acdba55b5371f1f64912d42c98edb5149d5e67dc.zip
Rollup merge of #95693 - RalfJung:more-context, r=oli-obk
interp: pass TyCtxt to Machine methods that do not take InterpCx

This just seems like something you might need, so let's consistently have it.

One day we might have to add `ParamEnv` as well, though that seems less likely (and in Miri you can always use `reveal_all` anyway). It might make sense to have a type that packages `TyCtxt` and `ParamEnv`, this pairing occurs quite frequently in rustc...

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