rust/crates/ra_hir_def/src
bors[bot] 86d2af9f7b
Merge #2803
2803: Fix various names, e.g. Iterator not resolving in core prelude r=matklad a=flodiebold

Basically, `Iterator` is re-exported via several steps, which happened to not be
resolved yet when we got to the prelude import, but since the name resolved to
the reexport from `core::iter` (just to no actual items), we gave up trying to
resolve it further.

Maybe part of the problem is that we can have
`PartialResolvedImport::Unresolved` or `PartialResolvedImport::Indeterminate`
with `None` in all namespaces, and handle them differently.

Fixes #2683.

Co-authored-by: Florian Diebold <flodiebold@gmail.com>
2020-01-11 23:00:37 +00:00
..
body Merge #2650 2019-12-29 15:02:27 +00:00
nameres Fix various names, e.g. Iterator not resolving in core prelude 2020-01-11 23:37:58 +01:00
path Handle start imports in import groups 2019-12-19 16:57:22 +01:00
adt.rs Remove visibility query, instead add struct field visibility to data 2019-12-26 16:23:40 +01:00
attr.rs Use different types for path with and without generics 2019-12-14 19:15:40 +01:00
body.rs Use pre-stored macro file 2019-12-23 21:56:10 +08:00
builtin_type.rs Rename N! to name! 2019-12-13 22:33:38 +01:00
child_by_source.rs Share impl Scope between modules and blocks 2019-12-22 15:52:35 +01:00
data.rs Remove AsyncOwner 2019-12-25 00:25:18 +08:00
db.rs Apply review suggestions 2020-01-11 23:33:04 +01:00
diagnostics.rs Rename Source -> InFile 2019-11-28 12:50:26 +03:00
docs.rs Move enum&union to new loc 2019-12-12 15:11:57 +01:00
dyn_map.rs DynMap 2019-12-06 21:28:05 +01:00
expr.rs Handle closure return types 2019-12-20 18:16:11 +01:00
find_path.rs Apply review suggestions 2020-01-11 23:33:04 +01:00
generics.rs Rename N! to name! 2019-12-13 22:33:38 +01:00
item_scope.rs Apply review suggestions 2020-01-11 23:33:04 +01:00
keys.rs Dedupe from_source impls 2019-12-12 15:50:16 +01:00
lang_item.rs Add helpers for unpacking lang items 2019-12-29 17:38:37 +01:00
lib.rs find_path WIP 2020-01-11 23:33:04 +01:00
marks.rs Handle start imports in import groups 2019-12-19 16:57:22 +01:00
nameres.rs Add _query suffix to compute_crate_def_map for consistency 2020-01-03 14:20:24 +01:00
path.rs Apply review suggestions 2020-01-11 23:33:04 +01:00
per_ns.rs Rename ResolvedVisibility -> Visibility 2019-12-26 16:23:40 +01:00
resolver.rs Apply review suggestions 2020-01-11 23:33:04 +01:00
src.rs Reduce copy-paste some more 2019-12-20 13:58:09 +01:00
test_db.rs Use query for importable locations 2020-01-11 23:33:04 +01:00
trace.rs Remove import source map 2019-12-21 17:26:28 +01:00
type_ref.rs
visibility.rs visible_from -> is_visible_from 2019-12-27 11:25:04 +01:00