aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/nameres/tests.rs
Commit message (Collapse)AuthorAgeFilesLines
* :arrow_up: instaAleksey Kladov2019-08-291-16/+16
|
* Moved module resolution test in mods.rsAlexander Andreev2019-07-071-191/+1
|
* Added support attribute path in resolusion module fnAlexander Andreev2019-07-061-0/+95
|
* Merge #1486bors[bot]2019-07-041-3/+3
|\ | | | | | | | | | | | | | | 1486: allow rustfmt to reorder imports r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * allow rustfmt to reorder importsAleksey Kladov2019-07-041-3/+3
| | | | | | | | | | | | This wasn't a right decision in the first place, the feature flag was broken in the last rustfmt release, and syntax highlighting of imports is more important anyway
* | Fixed request changesAlexander Andreev2019-07-031-2/+1
| |
* | Move resolve raw name in name.rsAlexander Andreev2019-07-031-0/+27
|/ | | | Added test for check module resolution with raw name
* use single version of either in hirAleksey Kladov2019-06-101-8/+5
|
* add tests for primitive typesAleksey Kladov2019-05-301-0/+1
|
* Add Test for new item resolutionEdwin Cheng2019-05-261-2/+15
|
* fix odrer-of-iteration bug in testsAleksey Kladov2019-05-211-4/+12
|
* sort hash maps for testsAleksey Kladov2019-05-211-145/+129
|
* move tests to where they belongAleksey Kladov2019-03-251-0/+1
|
* test diagnosticsAleksey Kladov2019-03-251-0/+18
|
* rename ModuleId -> CrateModuleIdAleksey Kladov2019-03-171-1/+1
|
* fix error on wrong pathAleksey Kladov2019-03-171-0/+26
|
* Reorganize name resolutionAleksey Kladov2019-03-171-0/+528
|
* move tests over to crate-def-mapAleksey Kladov2019-03-171-769/+0
|
* Replace module_tree with CrateDefMapAleksey Kladov2019-03-171-1/+2
|
* remove ignored macro testsAleksey Kladov2019-02-191-30/+0
| | | | | we need to significantly reengineer macros, so the tests as they exist are useless
* Handle extern crates better, so they work correctly in 2015 editionFlorian Diebold2019-02-131-0/+36
| | | | (see the removed comment.)
* Make edition handling a bit nicer and allow specifying edition in ↵Florian Diebold2019-02-131-10/+4
| | | | crate_graph macro
* Resolve 2015 style importsFlorian Diebold2019-02-131-0/+45
|
* Import the preludeFlorian Diebold2019-02-131-0/+37
|
* remove hard-coded query-group macroAleksey Kladov2019-02-111-0/+1
|
* use extern prelude in ResolverAleksey Kladov2019-02-111-0/+32
| | | | | | | This fixes two bugs: - completion for paths works again - we handle extern prelude shadowing more correctly
* add graph fixtureAleksey Kladov2019-02-111-71/+45
|
* Handle SourceRoots automatically in fixturesAleksey Kladov2019-02-111-28/+20
|
* Import glob imports from other cratesFlorian Diebold2019-02-101-0/+1
| | | | This is the easy part since we don't have to consider the fixpoint algorithm.
* Add some testsFlorian Diebold2019-02-101-0/+119
|
* reformat the worldAleksey Kladov2019-02-081-27/+7
|
* Make extern crates in the root module add to the extern preludeFlorian Diebold2019-02-041-8/+4
| | | | To accomplish this, separate the extern prelude from the per-module item maps.
* Add test for extern crate renamesFlorian Diebold2019-02-041-0/+42
|
* Add test for `use as`Florian Diebold2019-02-011-0/+24
|
* Use new Resolver API in type inferenceFlorian Diebold2019-02-011-1/+2
|
* split HirDatabase apicsmoe2019-02-011-1/+1
|
* Use Crate instead of CrateIdAleksey Kladov2019-01-301-7/+7
|
* Revert parts of "Test non standard crate root"Erlend Tobiassen2019-01-271-5/+3
| | | | Prefer cursor position over file_map
* Remove dbg!(...)Erlend Tobiassen2019-01-271-1/+1
|
* Test non standard crate rootErlend Tobiassen2019-01-271-0/+38
|
* rename FilesDatabase -> SourceDatabaseAleksey Kladov2019-01-261-1/+1
|
* use set methodsAleksey Kladov2019-01-251-6/+5
|
* simplifyAleksey Kladov2019-01-251-1/+1
|
* rename def_id -> defAleksey Kladov2019-01-251-2/+2
|
* refactor import resolutionAleksey Kladov2019-01-251-0/+21
| | | | | extract path resolution use enums instead of bools
* Change ids strategyAleksey Kladov2019-01-241-18/+17
| | | | | | | this is a part of larghish hir refactoring which aims to * replace per-source-root module trees with per crate trees * switch from a monotyped DedId to type-specific ids
* generalize marking infrastructureAleksey Kladov2019-01-231-1/+1
|
* :arrow_up: salsaAleksey Kladov2019-01-171-2/+1
|
* remove Cancelable from nameresAleksey Kladov2019-01-151-6/+6
|
* remove Cancelable from source bindersAleksey Kladov2019-01-151-12/+4
|