aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/nameres
Commit message (Collapse)AuthorAgeFilesLines
...
* 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-082-48/+17
|
* Make extern crates in the root module add to the extern preludeFlorian Diebold2019-02-042-8/+7
| | | | To accomplish this, separate the extern prelude from the per-module item maps.
* Lower extern crates to importsFlorian Diebold2019-02-041-3/+16
| | | | This is probably not completely correct, but it kind of works.
* Add test for extern crate renamesFlorian Diebold2019-02-041-0/+42
|
* Pass aliases to ImportDataFlorian Diebold2019-02-011-1/+3
|
* 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-012-8/+8
|
* 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
|
* remove Option<SourceFileItemId> hackAleksey Kladov2019-01-261-4/+1
|
* rename source_file -> parseAleksey Kladov2019-01-261-1/+1
|
* 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
* Migrate trait & type to new idsAleksey Kladov2019-01-241-64/+21
|
* move consts&statics to new idAleksey Kladov2019-01-241-5/+19
|
* remove boilerplateAleksey Kladov2019-01-241-3/+5
|
* migrate enums to new idAleksey Kladov2019-01-241-4/+11
|
* new struct idAleksey Kladov2019-01-241-2/+9
|
* Functions use new id schemeAleksey Kladov2019-01-241-3/+10
|
* Change ids strategyAleksey Kladov2019-01-242-70/+39
| | | | | | | 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
* drop obsolete commentAleksey Kladov2019-01-231-1/+0
|
* assign DefIds when loweringAleksey Kladov2019-01-231-68/+92
|
* introduced better typed AstPtrAleksey Kladov2019-01-231-8/+5
|
* move SyntaxPtr to ra_syntaxAleksey Kladov2019-01-231-5/+5
|
* generalize marking infrastructureAleksey Kladov2019-01-231-1/+1
|
* rename LoweredImport -> ImportIdAleksey Kladov2019-01-191-167/+15
|
* switched to lowerd moduleAleksey Kladov2019-01-191-20/+193
|
* simplifyAleksey Kladov2019-01-191-32/+52
|
* move input module items to the lower moduleAleksey Kladov2019-01-191-0/+200
|
* :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
|
* gracefully handle cycles in crate graphAleksey Kladov2019-01-131-3/+9
| | | | | rust-lang/rust has absolutely weird setup with rustc-workspace-shim, which leads to real cycles.
* introduce marking infrastructure for maintainable testsAleksey Kladov2019-01-101-0/+29
| | | | This also fixes a particular edge case in name resolution.
* more stable DefIds via bfs tree walkingAleksey Kladov2019-01-081-5/+12
|
* one more invalidation testAleksey Kladov2019-01-081-1/+32
|
* fix test namingAleksey Kladov2019-01-081-22/+22
|
* remove duplication in testsAleksey Kladov2019-01-081-55/+33
|
* Fix name resolution across source rootsFlorian Diebold2019-01-081-1/+96
| | | | It was using the wrong name in that case.