Correctly set and mark the proc-macro spans

This commit is contained in:
Lukas Wirth 2023-12-21 10:51:54 +01:00
parent 7d762d18ed
commit 1e1113cf5f
3 changed files with 14 additions and 13 deletions

View file

@ -179,7 +179,7 @@ pub struct MacroDefId {
pub kind: MacroDefKind,
pub local_inner: bool,
pub allow_internal_unsafe: bool,
pub def_site: Span,
pub span: Span,
}
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]