Add ast::ExprKind::Dummy

This commit is contained in:
Lieselotte 2024-02-25 22:22:09 +01:00
parent 8c0b1fcd29
commit a3fce72a27
No known key found for this signature in database
GPG key ID: 43A6A32F83A6F9B1
18 changed files with 37 additions and 24 deletions

View file

@ -3949,7 +3949,8 @@ impl MutVisitor for CondChecker<'_> {
| ExprKind::Become(_)
| ExprKind::IncludedBytes(_)
| ExprKind::FormatArgs(_)
| ExprKind::Err => {
| ExprKind::Err
| ExprKind::Dummy => {
// These would forbid any let expressions they contain already.
}
}