We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fde9d3c commit 14c0ee9Copy full SHA for 14c0ee9
src/bin/gen.rs
@@ -45,7 +45,6 @@ impl Grammar {
45
// enum SyntaxKind
46
acc.push_str("/// The kind of syntax node, e.g. `IDENT`, `USE_KW`, or `STRUCT_DEF`.\n");
47
acc.push_str("#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]\n");
48
- acc.push_str("#[repr(u32)]\n");
49
acc.push_str("pub enum SyntaxKind {\n");
50
for kind in syntax_kinds.iter() {
51
write!(acc, " {},\n", scream(kind)).unwrap();
0 commit comments