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),
|
||||
Impl(Impl),
|
||||
Trait(Trait),
|
||||
Use(Use),
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct Use {
|
||||
pub path: String,
|
||||
pub span: Span,
|
||||
Use(String),
|
||||
}
|
||||
|
||||
// ? implies OPTIONAL here
|
||||
|
|
@ -311,7 +305,7 @@ pub enum TypedASTNodeKind {
|
|||
Enum(TypedEnum),
|
||||
Impl(TypedImpl),
|
||||
Trait(TypedTrait),
|
||||
Use(Use),
|
||||
Use(String),
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue