Reintroduce hir::ExprKind::If
This commit is contained in:
@@ -139,6 +139,11 @@ crate enum ExprKind<'tcx> {
|
||||
Box {
|
||||
value: ExprRef<'tcx>,
|
||||
},
|
||||
If {
|
||||
cond: ExprRef<'tcx>,
|
||||
then: ExprRef<'tcx>,
|
||||
else_opt: Option<ExprRef<'tcx>>,
|
||||
},
|
||||
Call {
|
||||
ty: Ty<'tcx>,
|
||||
fun: ExprRef<'tcx>,
|
||||
|
||||
Reference in New Issue
Block a user