add snapshot test for suffixed expr

This commit is contained in:
Luke Boswell 2024-03-14 12:04:39 +11:00
parent 9bc0ab79af
commit 8bbbd768ec
No known key found for this signature in database
GPG key ID: F6DB3C9DB47377B0
11 changed files with 19 additions and 0 deletions

View file

@ -1441,6 +1441,7 @@ pub fn canonicalize_expr<'a>(
bad_expr
);
}
ast::Expr::Suffixed(_) => todo!(),
};
// At the end, diff used_idents and defined_idents to see which were unused.
@ -2506,6 +2507,7 @@ pub fn is_valid_interpolation(expr: &ast::Expr<'_>) -> bool {
ast::RecordBuilderField::SpaceBefore(_, _)
| ast::RecordBuilderField::SpaceAfter(_, _) => false,
}),
ast::Expr::Suffixed(_) => todo!(),
}
}