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:
bors[bot] 2018-01-28 09:28:45 +00:00
commit fde9d3ca43

View file

@ -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,