Rename Rename

This commit is contained in:
Aleksey Kladov
2020-07-30 11:58:41 +02:00
parent 7d09e5ed61
commit 6cd2131caf
11 changed files with 20 additions and 20 deletions

View File

@@ -37,7 +37,7 @@ fn path_from_text(text: &str) -> ast::Path {
pub fn use_tree(
path: ast::Path,
use_tree_list: Option<ast::UseTreeList>,
alias: Option<ast::Alias>,
alias: Option<ast::Rename>,
add_star: bool,
) -> ast::UseTree {
let mut buf = "use ".to_string();