From 78f41ea707cc8aeaa8d1ba8a7216cb8712f13e98 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sat, 11 Aug 2018 10:56:40 +0300 Subject: more renames --- crates/libsyntax2/src/grammar/items/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/libsyntax2/src/grammar/items') diff --git a/crates/libsyntax2/src/grammar/items/mod.rs b/crates/libsyntax2/src/grammar/items/mod.rs index be4ff976a..6f401ea1b 100644 --- a/crates/libsyntax2/src/grammar/items/mod.rs +++ b/crates/libsyntax2/src/grammar/items/mod.rs @@ -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 { } MOD_KW => { mod_item(p); - MOD_ITEM + MODULE } STRUCT_KW => { structs::struct_item(p); -- cgit v1.2.3