Parse macros allow_internal_unsafe attribute

This commit is contained in:
Lukas Wirth 2023-01-30 15:41:08 +01:00
parent 9814d79841
commit c65782e64a
4 changed files with 20 additions and 5 deletions

View file

@ -116,6 +116,7 @@ pub struct MacroDefId {
pub krate: CrateId,
pub kind: MacroDefKind,
pub local_inner: bool,
pub allow_internal_unsafe: bool,
}
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]