about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-09-18 13:02:19 +0200
committerGitHub <noreply@github.com>2023-09-18 13:02:19 +0200
commit0d29cdd18794dd72901d2f4093b99bf0fec32ca7 (patch)
tree7ddd2636950502bff925b72f98c9b717172a46a8 /compiler/rustc_mir_transform/src
parent497701876f549cd2c39eb789cc98b30a850265ab (diff)
parent3b817b2810ff7ecacab02f901f2a1a2902e5e72f (diff)
downloadrust-0d29cdd18794dd72901d2f4093b99bf0fec32ca7.tar.gz
rust-0d29cdd18794dd72901d2f4093b99bf0fec32ca7.zip
Rollup merge of #115907 - RalfJung:interner-check, r=compiler-errors
nop_lift macros: ensure that we are using the right interner

Right now someone could put down the wrong list name when using these macros, and everything would still build. Nothing does a type-check to ensure that the `$set` contains element of type `Self::Lifted`. Let's fix that.

For lists this is fairly easy; for the other interners we need to unwrap some newtypes which makes this more complicated.
Diffstat (limited to 'compiler/rustc_mir_transform/src')
0 files changed, 0 insertions, 0 deletions