diff options
author | Edwin Cheng <[email protected]> | 2019-11-30 15:29:21 +0000 |
---|---|---|
committer | Edwin Cheng <[email protected]> | 2019-11-30 15:29:21 +0000 |
commit | bb601e7eafa00e471a5306ac920f0be6c809aab0 (patch) | |
tree | d6713da23941b3e4daac0914d77221c357558db8 /crates/ra_hir | |
parent | 8b278b1ab660df0728508e45e88ac769a2e03a58 (diff) |
Add BuiltinShadowMode
Diffstat (limited to 'crates/ra_hir')
-rw-r--r-- | crates/ra_hir/src/source_binder.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir/src/source_binder.rs b/crates/ra_hir/src/source_binder.rs index 1661d92a2..0df7a7cb4 100644 --- a/crates/ra_hir/src/source_binder.rs +++ b/crates/ra_hir/src/source_binder.rs | |||
@@ -286,7 +286,7 @@ impl SourceAnalyzer { | |||
286 | 286 | ||
287 | let items = self | 287 | let items = self |
288 | .resolver | 288 | .resolver |
289 | .resolve_module_path(db, &path) | 289 | .resolve_module_path_in_items(db, &path) |
290 | .take_types() | 290 | .take_types() |
291 | .map(|it| PathResolution::Def(it.into())); | 291 | .map(|it| PathResolution::Def(it.into())); |
292 | types.or(values).or(items).or_else(|| { | 292 | types.or(values).or(items).or_else(|| { |