aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/ast/rust-expr.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/rust/ast/rust-expr.h')
-rw-r--r--gcc/rust/ast/rust-expr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rust/ast/rust-expr.h b/gcc/rust/ast/rust-expr.h
index 8d650b2..4644e8d 100644
--- a/gcc/rust/ast/rust-expr.h
+++ b/gcc/rust/ast/rust-expr.h
@@ -3792,7 +3792,7 @@ public:
outer_attrs = std::move (new_attrs);
}
- Expr::Kind get_expr_kind () const override { return Expr::Kind::Return; }
+ Expr::Kind get_expr_kind () const override { return Expr::Kind::Try; }
protected:
/* Use covariance to implement clone function as returning this object rather