Set allow_loop_expressions to true by default.

This commit is contained in:
Stephen Chung
2023-02-16 20:35:15 +08:00
parent 513a1ab435
commit 6b301b4e70
4 changed files with 47 additions and 2 deletions

View File

@@ -41,6 +41,7 @@ impl LangOptions {
pub fn new() -> Self {
Self::IF_EXPR
| Self::SWITCH_EXPR
| Self::LOOP_EXPR
| Self::STMT_EXPR
| Self::LOOPING
| Self::SHADOWING