rust/crates/ra_hir_def/src/nameres
Florian Diebold 9dc1826cfa Fix various names, e.g. Iterator not resolving in core prelude
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.
2020-01-11 23:37:58 +01:00
..
tests Fix various names, e.g. Iterator not resolving in core prelude 2020-01-11 23:37:58 +01:00
collector.rs Fix various names, e.g. Iterator not resolving in core prelude 2020-01-11 23:37:58 +01:00
mod_resolution.rs Get rid of DefDatabase2 2019-11-23 14:49:45 +03:00
path_resolution.rs Rename ResolvedVisibility -> Visibility 2019-12-26 16:23:40 +01:00
raw.rs Rename Visibility -> RawVisibility 2019-12-26 16:23:40 +01:00
tests.rs Take visibility into account for glob imports 2019-12-26 16:23:40 +01:00