Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'xtask/src/codegen/grammar/ast_src.rs')
-rw-r--r--xtask/src/codegen/grammar/ast_src.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/xtask/src/codegen/grammar/ast_src.rs b/xtask/src/codegen/grammar/ast_src.rs
index 43462d1c6e..49a625bdbd 100644
--- a/xtask/src/codegen/grammar/ast_src.rs
+++ b/xtask/src/codegen/grammar/ast_src.rs
@@ -123,6 +123,7 @@ const CONTEXTUAL_KEYWORDS: &[&str] = &[
"bikeshed",
"cfg_attr",
"cfg",
+ "null",
];
// keywords we use for special macro expansions
const CONTEXTUAL_BUILTIN_KEYWORDS: &[&str] = &[
@@ -151,6 +152,8 @@ const CONTEXTUAL_BUILTIN_KEYWORDS: &[&str] = &[
"readonly",
"sym",
"deref",
+ "pattern_type",
+ "is",
];
// keywords that are keywords depending on the edition