diff options
Diffstat (limited to 'crates/ra_hir_def')
-rw-r--r-- | crates/ra_hir_def/src/path.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir_def/src/path.rs b/crates/ra_hir_def/src/path.rs index ddabc7ca6..04039376f 100644 --- a/crates/ra_hir_def/src/path.rs +++ b/crates/ra_hir_def/src/path.rs | |||
@@ -292,7 +292,7 @@ fn expand_use_tree( | |||
292 | prefix: Option<Path>, | 292 | prefix: Option<Path>, |
293 | tree: ast::UseTree, | 293 | tree: ast::UseTree, |
294 | hygiene: &Hygiene, | 294 | hygiene: &Hygiene, |
295 | cb: &mut impl FnMut(Path, &ast::UseTree, bool, Option<Name>), | 295 | cb: &mut dyn FnMut(Path, &ast::UseTree, bool, Option<Name>), |
296 | ) { | 296 | ) { |
297 | if let Some(use_tree_list) = tree.use_tree_list() { | 297 | if let Some(use_tree_list) = tree.use_tree_list() { |
298 | let prefix = match tree.path() { | 298 | let prefix = match tree.path() { |