diff --git a/src/comp/syntax/parse/parser.rs b/src/comp/syntax/parse/parser.rs index f7574b763713..1ae1cc2ecb97 100644 --- a/src/comp/syntax/parse/parser.rs +++ b/src/comp/syntax/parse/parser.rs @@ -150,7 +150,7 @@ fn bad_expr_word_table() -> hashmap { "assert", "claim", "native", "fn", "pure", "unsafe", "import", "export", "let", "const", "log", "copy", "sendfn", "impl", "iface", "enum", - "m32", "m64", "m128", "f80", "f16", f128", + "m32", "m64", "m128", "f80", "f16", "f128", "class", "trait"] { words.insert(word, ()); }