Use numeric field Names ("0", "1" etc) for positional fields

This commit is contained in:
Vadim Petrochenkov 2016-02-27 03:05:14 +03:00
parent 8b60b948d9
commit 8b026a6e48
18 changed files with 62 additions and 109 deletions

View file

@ -542,7 +542,7 @@ declare_special_idents_and_keywords! {
// outside of libsyntax
(7, clownshoe_abi, "__rust_abi");
(8, opaque, "<opaque>");
(9, unnamed_field, "<unnamed_field>");
(9, __unused1, "<__unused1>");
(super::SELF_TYPE_KEYWORD_NAME_NUM, type_self, "Self");
(11, prelude_import, "prelude_import");
}