Spanned impl

This commit is contained in:
2026-05-18 14:42:41 +02:00
parent 5648c1da61
commit a88ff4c8dd
3 changed files with 23 additions and 9 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ pub enum Attribute {
}
#[derive(Debug, Clone, Serialize)]
pub struct TopLevel(pub TopLevelKind, pub Vec<Attribute>);
pub struct TopLevel(pub Spanned<TopLevelKind>, pub Vec<Attribute>);
#[derive(Debug, Clone, Serialize)]
pub enum TopLevelKind {