Thread proc-macro types through the HIR

This commit is contained in:
Jonas Schievink 2021-05-29 20:32:57 +02:00
parent f6da603c7f
commit 8c639a87bd
5 changed files with 34 additions and 10 deletions

View file

@ -147,7 +147,7 @@ impl CrateDisplayName {
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub struct ProcMacroId(pub u32);
#[derive(Copy, Clone, Eq, PartialEq, Debug)]
#[derive(Copy, Clone, Eq, PartialEq, Debug, Hash)]
pub enum ProcMacroKind {
CustomDerive,
FuncLike,