fix desugar for suffixed nodes

This commit is contained in:
Luke Boswell 2024-04-01 15:57:12 +11:00
parent fac52f7408
commit b8ec53738a
No known key found for this signature in database
GPG key ID: F6DB3C9DB47377B0
8 changed files with 184 additions and 207 deletions

View file

@ -2880,7 +2880,7 @@ fn to_pending_value_def<'a>(
preceding_comment: *preceding_comment,
}),
Stmt(_) => todo!(),
Stmt(_) => internal_error!("a Stmt was not desugared correctly, should have been converted to a Body(...) in desguar"),
}
}