mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 04:53:34 +00:00
Merge #20
20: Drop `repr(u32)` from SyntaxKind r=CAD97 a=matklad Nomicon says it disables some optimizations: https://doc.rust-lang.org/beta/nomicon/other-reprs.html#repru-repri
This commit is contained in:
commit
fde9d3ca43
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`.
|
/// The kind of syntax node, e.g. `IDENT`, `USE_KW`, or `STRUCT_DEF`.
|
||||||
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
|
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
|
||||||
#[repr(u32)]
|
|
||||||
pub enum SyntaxKind {
|
pub enum SyntaxKind {
|
||||||
USE_KW,
|
USE_KW,
|
||||||
FN_KW,
|
FN_KW,
|
||||||
|
|
Loading…
Reference in a new issue