mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-18 21:07:10 +00:00
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.
For more information about how rustc works, see the rustc dev guide.