syntax: Demote priv to a reserved keyword

It is no longer used in rust anywhere.

RFC: 0006-remove-priv
This commit is contained in:
Alex Crichton 2014-04-15 19:32:42 -07:00
parent 5cfbc0e7ae
commit a0347d5224

View file

@ -461,29 +461,29 @@ declare_special_idents_and_keywords! {
(25, Mod, "mod"); (25, Mod, "mod");
(26, Mut, "mut"); (26, Mut, "mut");
(27, Once, "once"); (27, Once, "once");
(28, Priv, "priv"); (28, Pub, "pub");
(29, Pub, "pub"); (29, Ref, "ref");
(30, Ref, "ref"); (30, Return, "return");
(31, Return, "return");
// Static and Self are also special idents (prefill de-dupes) // Static and Self are also special idents (prefill de-dupes)
(super::STATIC_KEYWORD_NAME, Static, "static"); (super::STATIC_KEYWORD_NAME, Static, "static");
(super::SELF_KEYWORD_NAME, Self, "self"); (super::SELF_KEYWORD_NAME, Self, "self");
(32, Struct, "struct"); (31, Struct, "struct");
(33, Super, "super"); (32, Super, "super");
(34, True, "true"); (33, True, "true");
(35, Trait, "trait"); (34, Trait, "trait");
(36, Type, "type"); (35, Type, "type");
(37, Unsafe, "unsafe"); (36, Unsafe, "unsafe");
(38, Use, "use"); (37, Use, "use");
(39, While, "while"); (38, While, "while");
(40, Continue, "continue"); (39, Continue, "continue");
(41, Proc, "proc"); (40, Proc, "proc");
(42, Box, "box"); (41, Box, "box");
'reserved: 'reserved:
(43, Alignof, "alignof"); (42, Alignof, "alignof");
(44, Be, "be"); (43, Be, "be");
(45, Offsetof, "offsetof"); (44, Offsetof, "offsetof");
(45, Priv, "priv");
(46, Pure, "pure"); (46, Pure, "pure");
(47, Sizeof, "sizeof"); (47, Sizeof, "sizeof");
(48, Typeof, "typeof"); (48, Typeof, "typeof");