Compare commits

...

2 commits

Author SHA1 Message Date
376152f465 use 2025-12-16 14:38:03 +05:30
0dd7161829 use 2025-12-16 14:37:51 +05:30

View file

@ -70,7 +70,13 @@ pub enum ASTNodeKind {
Enum(Enum),
Impl(Impl),
Trait(Trait),
Use(String),
Use(Use),
}
#[derive(Debug, Clone)]
pub struct Use {
pub path: String,
pub span: Span,
}
// ? implies OPTIONAL here
@ -305,7 +311,7 @@ pub enum TypedASTNodeKind {
Enum(TypedEnum),
Impl(TypedImpl),
Trait(TypedTrait),
Use(String),
Use(Use),
}
#[derive(Debug, Clone)]