aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_def/src/nameres/tests
Commit message (Collapse)AuthorAgeFilesLines
* Rename ra_syntax -> syntaxAleksey Kladov2020-08-121-1/+1
|
* Remove insta for ra_hir_defAleksey Kladov2020-07-171-17/+15
|
* Rewrite def map tests from insta to expectAleksey Kladov2020-07-174-1502/+1413
| | | | Those indentation markers are annoying...
* Guard against infinite macro expansionsAleksey Kladov2020-07-141-0/+24
| | | | closes #4463
* Merge #5033bors[bot]2020-06-271-0/+90
|\ | | | | | | | | | | | | | | 5033: Order of glob imports should not affect import shadowing r=Nashenas88 a=Nashenas88 Fixes #5032 Co-authored-by: Paul Daniel Faria <[email protected]>
| * Revert resolution of all glob imports first, replace with tracking of glob ↵Paul Daniel Faria2020-06-251-0/+44
| | | | | | | | imports and shadowing when more specific
| * Order of glob imports should not affect import shadowingPaul Daniel Faria2020-06-251-0/+46
| |
* | Make VFS join methods fallibleJonas Schievink2020-06-261-0/+16
|/
* draw the rest of the owlJonas Schievink2020-06-241-4/+1
|
* Remove now-broken incremental testJonas Schievink2020-06-241-38/+0
| | | | | The ItemTree tracks impl and trait items, so the CrateDefMap now needs recomputing when those change
* Fix testJonas Schievink2020-06-241-2/+5
|
* Fix formatting issue with glob shadow testPaul Daniel Faria2020-06-241-17/+17
|
* Use a macro in push_res to simplify code, simplify glob_shadowed_def assertionPaul Daniel Faria2020-06-241-127/+28
|
* Account for updated module ids when determining whether a resolution is ↵Paul Daniel Faria2020-06-241-0/+146
| | | | "changed"
* Switch to new magic marksAleksey Kladov2020-05-203-10/+8
|
* Fix testEdwin Cheng2020-05-041-16/+16
|
* Add test in name resolutionsEdwin Cheng2020-05-021-0/+37
|
* Make incremental nameres test harderAleksey Kladov2020-04-111-0/+6
|
* Minor incremental tests cleanupAleksey Kladov2020-03-261-8/+8
|
* Simplify Arena to use a generic indexAleksey Kladov2020-03-191-6/+2
|
* Check that no file contains trailing wsAleksey Kladov2020-03-173-105/+105
| | | | rustfmt allows trailing spaces in string literals unfortunately.
* Run cargo +nightly fix --clippy -Z unstable-optionsKirill Bulatov2020-02-181-2/+2
|
* 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.
* Fix cross-crate glob privacy handlingFlorian Diebold2019-12-261-0/+20
|
* Handle privacy for modulesFlorian Diebold2019-12-261-2/+1
|
* Take visibility into account for glob importsFlorian Diebold2019-12-262-2/+80
|
* Make legacy macros privateAleksey Kladov2019-12-201-2/+2
|
* Move impls to ItemScopeAleksey Kladov2019-12-201-2/+2
|
* Handle start imports in import groupsAleksey Kladov2019-12-191-0/+21
|
* Add expansion infrastructure for derive macrosFlorian Diebold2019-12-051-0/+24
|
* Use InFile for AstIdAleksey Kladov2019-11-281-2/+2
|
* Rename CrateModuleIdAleksey Kladov2019-11-231-1/+1
|
* Add convenience method for testingAleksey Kladov2019-11-152-4/+4
|
* Restore crate_def_map marksAleksey Kladov2019-11-033-8/+8
|
* move crate_def_map tests to hir_defAleksey Kladov2019-11-035-0/+1655