lower let-else in MIR instead
This commit is contained in:
parent
38b72154de
commit
6c529ded86
71 changed files with 421 additions and 264 deletions
|
@ -1296,7 +1296,8 @@ pub struct Stmt<'hir> {
|
|||
#[derive(Debug, HashStable_Generic)]
|
||||
pub enum StmtKind<'hir> {
|
||||
/// A local (`let`) binding.
|
||||
Local(&'hir Local<'hir>),
|
||||
/// FIXME: bundle the last two components into another `struct`
|
||||
Local(&'hir Local<'hir>, Option<&'hir Block<'hir>>),
|
||||
|
||||
/// An item binding.
|
||||
Item(ItemId),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue