From a05a2ab1bb942c7b950f270ff1a31ba67518ae14 Mon Sep 17 00:00:00 2001 From: unexge Date: Sun, 2 Aug 2020 23:07:36 +0300 Subject: Rename ast::UseItem to ast::Use --- crates/ra_assists/src/handlers/expand_glob_import.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ra_assists/src/handlers/expand_glob_import.rs b/crates/ra_assists/src/handlers/expand_glob_import.rs index 590239304..ae9e86181 100644 --- a/crates/ra_assists/src/handlers/expand_glob_import.rs +++ b/crates/ra_assists/src/handlers/expand_glob_import.rs @@ -164,7 +164,7 @@ fn replace_ast( ast::UseTreeList(use_tree_list) => { builder.replace_ast(use_tree_list, new_use_tree_list); }, - ast::UseItem(use_item) => { + ast::Use(use_item) => { builder.replace_ast(use_item, ast::make::use_item(make_use_tree(path, new_use_tree_list))); }, _ => {}, -- cgit v1.2.3