mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-25 20:43:21 +00:00
Drop repr(u32)
from SyntaxKind
Nomicon says it disables some optimizations: https://doc.rust-lang.org/beta/nomicon/other-reprs.html#repru-repri
This commit is contained in:
parent
bec9f09134
commit
169d5d371a
1 changed files with 0 additions and 1 deletions
|
@ -5,7 +5,6 @@ use tree::SyntaxInfo;
|
|||
|
||||
/// The kind of syntax node, e.g. `IDENT`, `USE_KW`, or `STRUCT_DEF`.
|
||||
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
|
||||
#[repr(u32)]
|
||||
pub enum SyntaxKind {
|
||||
USE_KW,
|
||||
FN_KW,
|
||||
|
|
Loading…
Reference in a new issue