Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/syntax/src/tests/ast_src.rs')
-rw-r--r--crates/syntax/src/tests/ast_src.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/crates/syntax/src/tests/ast_src.rs b/crates/syntax/src/tests/ast_src.rs
index 341bda892b..8221c57789 100644
--- a/crates/syntax/src/tests/ast_src.rs
+++ b/crates/syntax/src/tests/ast_src.rs
@@ -67,8 +67,9 @@ pub(crate) const KINDS_SRC: KindsSrc<'_> = KindsSrc {
keywords: &[
"as", "async", "await", "box", "break", "const", "continue", "crate", "do", "dyn", "else",
"enum", "extern", "false", "fn", "for", "if", "impl", "in", "let", "loop", "macro",
- "match", "mod", "move", "mut", "pub", "ref", "return", "self", "Self", "static", "struct",
- "super", "trait", "true", "try", "type", "unsafe", "use", "where", "while", "yield",
+ "match", "mod", "move", "mut", "pub", "ref", "return", "become", "self", "Self", "static",
+ "struct", "super", "trait", "true", "try", "type", "unsafe", "use", "where", "while",
+ "yield",
],
contextual_keywords: &[
"auto",
@@ -154,6 +155,7 @@ pub(crate) const KINDS_SRC: KindsSrc<'_> = KindsSrc {
"BLOCK_EXPR",
"STMT_LIST",
"RETURN_EXPR",
+ "BECOME_EXPR",
"YIELD_EXPR",
"YEET_EXPR",
"LET_EXPR",