aboutsummaryrefslogtreecommitdiff
path: root/crates/syntax/src
diff options
context:
space:
mode:
Diffstat (limited to 'crates/syntax/src')
-rw-r--r--crates/syntax/src/ast/make.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/crates/syntax/src/ast/make.rs b/crates/syntax/src/ast/make.rs
index a378b1d37..1998ad1f6 100644
--- a/crates/syntax/src/ast/make.rs
+++ b/crates/syntax/src/ast/make.rs
@@ -31,6 +31,9 @@ pub mod ext {
31 pub fn expr_todo() -> ast::Expr { 31 pub fn expr_todo() -> ast::Expr {
32 expr_from_text("todo!()") 32 expr_from_text("todo!()")
33 } 33 }
34 pub fn empty_block_expr() -> ast::BlockExpr {
35 block_expr(None, None)
36 }
34 37
35 pub fn ty_bool() -> ast::Type { 38 pub fn ty_bool() -> ast::Type {
36 ty_path(ident_path("bool")) 39 ty_path(ident_path("bool"))