mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 06:41:48 +00:00
Revert "Merge #4233"
This reverts commita5f2b16366
, reversing changes made toc96b2180c1
.
This commit is contained in:
parent
a984587c47
commit
fd030f9450
9 changed files with 63 additions and 30 deletions
|
@ -101,6 +101,9 @@ pub enum Expr {
|
|||
Try {
|
||||
expr: ExprId,
|
||||
},
|
||||
TryBlock {
|
||||
body: ExprId,
|
||||
},
|
||||
Cast {
|
||||
expr: ExprId,
|
||||
type_ref: TypeRef,
|
||||
|
@ -236,6 +239,7 @@ impl Expr {
|
|||
f(*expr);
|
||||
}
|
||||
}
|
||||
Expr::TryBlock { body } => f(*body),
|
||||
Expr::Loop { body } => f(*body),
|
||||
Expr::While { condition, body } => {
|
||||
f(*condition);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue