more renames

This commit is contained in:
Aleksey Kladov
2018-08-11 10:56:40 +03:00
parent 2e971cdcbb
commit 78f41ea707
11 changed files with 79 additions and 21 deletions

View File

@@ -121,7 +121,7 @@ pub(super) fn maybe_item(p: &mut Parser) -> MaybeItem {
// unsafe auto trait T {}
TRAIT_KW => {
traits::trait_item(p);
TRAIT_ITEM
TRAIT
}
// test unsafe_impl
@@ -161,7 +161,7 @@ fn items_without_modifiers(p: &mut Parser) -> Option<SyntaxKind> {
}
MOD_KW => {
mod_item(p);
MOD_ITEM
MODULE
}
STRUCT_KW => {
structs::struct_item(p);