mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-08-22 11:24:24 +00:00
Add Expr::Underscore
This commit is contained in:
parent
e10799536a
commit
c1c867506b
3 changed files with 9 additions and 1 deletions
|
@ -203,6 +203,7 @@ pub enum Expr {
|
|||
},
|
||||
Array(Array),
|
||||
Literal(Literal),
|
||||
Underscore,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Eq, PartialEq)]
|
||||
|
@ -345,6 +346,7 @@ impl Expr {
|
|||
},
|
||||
Expr::MacroStmts { tail } => f(*tail),
|
||||
Expr::Literal(_) => {}
|
||||
Expr::Underscore => {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue