aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_def/src/nameres/tests/mod_resolution.rs
Commit message (Collapse)AuthorAgeFilesLines
* Simplify Arena to use a generic indexAleksey Kladov2020-03-191-6/+2
|
* Check that no file contains trailing wsAleksey Kladov2020-03-171-42/+42
| | | | rustfmt allows trailing spaces in string literals unfortunately.
* Fix various names, e.g. Iterator not resolving in core preludeFlorian Diebold2020-01-111-0/+45
| | | | | | | | | | | | | 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.
* Use InFile for AstIdAleksey Kladov2019-11-281-2/+2
|
* Rename CrateModuleIdAleksey Kladov2019-11-231-1/+1
|
* Add convenience method for testingAleksey Kladov2019-11-151-1/+1
|
* Restore crate_def_map marksAleksey Kladov2019-11-031-1/+1
|
* move crate_def_map tests to hir_defAleksey Kladov2019-11-031-0/+782