From b85a80a4dc0da7fae203d26d7481711b05a6e508 Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Thu, 11 Apr 2024 17:01:55 -0600 Subject: [PATCH] add Err and Ok to list of rust keywords --- property_tests/arbitraries/js_function_name_arb.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/property_tests/arbitraries/js_function_name_arb.ts b/property_tests/arbitraries/js_function_name_arb.ts index 7648268231..e77aaf5ac7 100644 --- a/property_tests/arbitraries/js_function_name_arb.ts +++ b/property_tests/arbitraries/js_function_name_arb.ts @@ -8,6 +8,7 @@ const rustKeywords = [ 'dyn', 'else', 'enum', + 'Err', 'extern', 'false', 'fn', @@ -21,6 +22,7 @@ const rustKeywords = [ 'mod', 'move', 'mut', + 'Ok', 'pub', 'ref', 'return',