Lower let-else to HIR
This commit is contained in:
@@ -1097,6 +1097,7 @@ pub enum DesugaringKind {
|
||||
Async,
|
||||
Await,
|
||||
ForLoop(ForLoopLoc),
|
||||
LetElse,
|
||||
}
|
||||
|
||||
/// A location in the desugaring of a `for` loop
|
||||
@@ -1117,6 +1118,7 @@ impl DesugaringKind {
|
||||
DesugaringKind::TryBlock => "`try` block",
|
||||
DesugaringKind::OpaqueTy => "`impl Trait`",
|
||||
DesugaringKind::ForLoop(_) => "`for` loop",
|
||||
DesugaringKind::LetElse => "`let...else`",
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user