aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Turn ImplBlock into a copy type just containing IDsFlorian Diebold2019-02-165-66/+48
| | | | | | | This makes it more like the other code model types. Also make Module::definition_source/declaration_source return HirFileIds, to make them more like the other source functions.
* Complete names from preludeFlorian Diebold2019-02-132-4/+10
|
* Handle extern crates better, so they work correctly in 2015 editionFlorian Diebold2019-02-133-15/+55
| | | | (see the removed comment.)
* Make edition handling a bit nicer and allow specifying edition in ↵Florian Diebold2019-02-132-16/+13
| | | | crate_graph macro
* Resolve 2015 style importsFlorian Diebold2019-02-133-8/+114
|
* Keep track of crate editionFlorian Diebold2019-02-131-2/+3
|
* Import the preludeFlorian Diebold2019-02-135-11/+96
|
* Fix another crashFlorian Diebold2019-02-123-2/+33
|
* make token trees eqAleksey Kladov2019-02-121-1/+1
|
* Fix some typosPascal Hertleif2019-02-126-15/+15
|
* Implement completion for associated itemsLaurențiu Nicola2019-02-121-0/+20
|
* replace clone with copyAleksey Kladov2019-02-121-1/+1
|
* fix obsolete commentAleksey Kladov2019-02-121-2/+2
|
* remove hard-coded query-group macroAleksey Kladov2019-02-112-24/+3
|
* remove useless hashAleksey Kladov2019-02-112-2/+2
|
* remove query_definitionsAleksey Kladov2019-02-114-34/+20
|
* rename combine -> orAleksey Kladov2019-02-112-3/+3
| | | | | | This way we match API of Option https://doc.rust-lang.org/std/option/enum.Option.html#method.or
* use extern prelude in ResolverAleksey Kladov2019-02-113-18/+43
| | | | | | | This fixes two bugs: - completion for paths works again - we handle extern prelude shadowing more correctly
* add graph fixtureAleksey Kladov2019-02-113-71/+81
|
* Handle SourceRoots automatically in fixturesAleksey Kladov2019-02-112-55/+75
|
* Implement glob imports within the same crateFlorian Diebold2019-02-101-16/+77
| | | | Fixes #231.
* Import glob imports from other cratesFlorian Diebold2019-02-103-2/+17
| | | | This is the easy part since we don't have to consider the fixpoint algorithm.
* Implement glob imports from enumsFlorian Diebold2019-02-102-6/+37
|
* Add some testsFlorian Diebold2019-02-102-0/+120
|
* Spell cases explicitly in Ty::walk{_mut}Florian Diebold2019-02-101-2/+18
|
* Add an ra_cli command that analyses all crates in the current workspaceFlorian Diebold2019-02-103-2/+75
| | | | ... and prints various stats about how many expressions have a type etc.
* Add comment and markFlorian Diebold2019-02-093-2/+10
|
* Fix another crash, and try harder to prevent stack overflowsFlorian Diebold2019-02-093-7/+75
|
* Fix another crash found when analyzing rustcFlorian Diebold2019-02-093-7/+38
|
* Fix handling of literal patternsFlorian Diebold2019-02-093-0/+29
| | | | | Wrap them in a LiteralPat node so they can be distinguished from literal expressions.
* Fix two crashes found by running inference on all of rustcFlorian Diebold2019-02-094-15/+84
|
* reformat the worldAleksey Kladov2019-02-0824-780/+238
|
* Some clippy cleanupskjeremy2019-02-066-12/+12
|
* move assists to a separate crateAleksey Kladov2019-02-062-8/+7
|
* Fix ReachedFixedPoint value for unresolved external prelude itemsFlorian Diebold2019-02-041-1/+1
|
* Complete extern prelude (again)Florian Diebold2019-02-042-2/+5
|
* Make extern crates in the root module add to the extern preludeFlorian Diebold2019-02-044-39/+68
| | | | 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
|
* Test more Self inferencekjeremy2019-02-042-3/+13
|
* make HirDatabase object-safeAleksey Kladov2019-02-032-3/+6
|
* Use aliases in import resolutionFlorian Diebold2019-02-011-9/+12
|
* Pass aliases to ImportDataFlorian Diebold2019-02-012-7/+10
|
* Add test for `use as`Florian Diebold2019-02-011-0/+24
|
* Some cleanup and additional testsFlorian Diebold2019-02-012-6/+18
|
* Make the Resolution variants tuple variantsFlorian Diebold2019-02-014-32/+24
|
* CleanupFlorian Diebold2019-02-014-23/+12
|
* Use the new Resolver API for goto defFlorian Diebold2019-02-014-11/+53
|
* Use the new Resolver API in completionFlorian Diebold2019-02-015-38/+115
|
* Use new Resolver API in type inferenceFlorian Diebold2019-02-0112-250/+295
|