From 357982fae4ac7be0f6e0065399606f2d78618aaf Mon Sep 17 00:00:00 2001 From: Vadim Petrochenkov Date: Mon, 14 Sep 2015 01:24:27 +0300 Subject: Workaround for imports with empty braces --- src/libsyntax/visit.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libsyntax') diff --git a/src/libsyntax/visit.rs b/src/libsyntax/visit.rs index 2a2f5c0f2c1..cda750c5cda 100644 --- a/src/libsyntax/visit.rs +++ b/src/libsyntax/visit.rs @@ -224,8 +224,8 @@ pub fn walk_item<'v, V: Visitor<'v>>(visitor: &mut V, item: &'v Item) { visitor.visit_path_list_item(prefix, item) } } else { - // FIXME: uncomment this and fix the resulting ICE - // visitor.visit_path(prefix, item.id); + // FIXME(#28388) visit_path should be used instead of walk_path + walk_path(visitor, prefix); } } } -- cgit 1.4.1-3-g733a5