improve compile time a bit

This commit is contained in:
Aleksey Kladov 2019-10-30 19:15:41 +03:00
parent ab559f170e
commit cf4f7eb566

View file

@ -292,7 +292,7 @@ fn expand_use_tree(
prefix: Option<Path>,
tree: ast::UseTree,
hygiene: &Hygiene,
cb: &mut impl FnMut(Path, &ast::UseTree, bool, Option<Name>),
cb: &mut dyn FnMut(Path, &ast::UseTree, bool, Option<Name>),
) {
if let Some(use_tree_list) = tree.use_tree_list() {
let prefix = match tree.path() {