Compare commits
No commits in common. "376152f4659399d3ff4c805654b0578b81e0d364" and "4b3a09c4d5c68aef4800512bbd3e8c2255134a17" have entirely different histories.
376152f465
...
4b3a09c4d5
1 changed files with 2 additions and 8 deletions
10
src/ast.rs
10
src/ast.rs
|
|
@ -70,13 +70,7 @@ pub enum ASTNodeKind {
|
||||||
Enum(Enum),
|
Enum(Enum),
|
||||||
Impl(Impl),
|
Impl(Impl),
|
||||||
Trait(Trait),
|
Trait(Trait),
|
||||||
Use(Use),
|
Use(String),
|
||||||
}
|
|
||||||
|
|
||||||
#[derive(Debug, Clone)]
|
|
||||||
pub struct Use {
|
|
||||||
pub path: String,
|
|
||||||
pub span: Span,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// ? implies OPTIONAL here
|
// ? implies OPTIONAL here
|
||||||
|
|
@ -311,7 +305,7 @@ pub enum TypedASTNodeKind {
|
||||||
Enum(TypedEnum),
|
Enum(TypedEnum),
|
||||||
Impl(TypedImpl),
|
Impl(TypedImpl),
|
||||||
Trait(TypedTrait),
|
Trait(TypedTrait),
|
||||||
Use(Use),
|
Use(String),
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, Clone)]
|
#[derive(Debug, Clone)]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue