aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
...
* cleanup hir db importsAleksey Kladov2019-09-081-1/+0
|
* Make type walking infrastructure a bit nicerFlorian Diebold2019-09-031-1/+3
| | | | | If/when we switch to using Chalk's Ty, we'll need to replace this by its `Fold` trait, but I didn't want to import the whole thing just yet.
* Add an expr_source method analogous to the source methods in the code modelFlorian Diebold2019-09-021-3/+3
| | | | ... and use that instead of exposing the source map.
* implement durabilityAleksey Kladov2019-08-151-0/+2
|
* highlight mutable variables differentlyEkaterina Babshukova2019-07-181-0/+1
|
* complete fields in enum variantsEkaterina Babshukova2019-07-121-1/+1
|
* Constify KnownName'sMuhammad Mominul Huque2019-07-071-1/+1
|
* allow rustfmt to reorder importsAleksey Kladov2019-07-041-24/+18
| | | | | | 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
* make sure that CrateDefMap is independent from syntaxAleksey Kladov2019-06-261-1/+1
|
* rename XSignature -> XDataAleksey Kladov2019-06-181-2/+2
|
* move docs under code modelAleksey Kladov2019-06-111-2/+1
|
* move source to a seaparate fileAleksey Kladov2019-06-111-1/+2
|
* Introduce HasSource traitAleksey Kladov2019-06-111-1/+1
|
* use Source moreAleksey Kladov2019-06-111-1/+1
|
* one macro def should be enoughAleksey Kladov2019-06-081-1/+1
|
* don't cache parses twiceAleksey Kladov2019-06-021-1/+1
| | | | | | | | | Before this commit, `Parse`s for original file ended up two times in salsa's db: first, when we parse original file, and second, when we parse macro or a file. Given that parse trees are the worst ofenders in terms of memory, it makes sense to make sure we store them only once.
* add AstDatabaseAleksey Kladov2019-06-021-1/+1
|
* add ModuleDef::BuiltInTypeAleksey Kladov2019-05-301-2/+3
|
* Use ItemOrMacro in item resolutionEdwin Cheng2019-05-261-1/+1
|
* rename code_model_api -> code_modelAleksey Kladov2019-05-231-2/+2
|
* kill code_model_implAleksey Kladov2019-05-231-1/+0
|
* add union to code_modelAleksey Kladov2019-05-231-1/+1
|
* store macro kind in HirFileIdAleksey Kladov2019-05-141-0/+1
|
* Added local macro gotoLenard Pratt2019-05-041-2/+2
|
* Initial support for lang items.Marco Groppo2019-04-191-0/+1
|
* Extract generic_params method to a HasGenericParams traitFlorian Diebold2019-04-141-0/+1
|
* Add Container enum to handle both kinds of container (impl/trait)Florian Diebold2019-04-141-1/+1
|
* Get substs for trait refs in impl blocksFlorian Diebold2019-04-141-1/+1
|
* move ScopeEntryWithSyntaxAleksey Kladov2019-04-131-2/+2
|
* make resolver privateAleksey Kladov2019-04-131-1/+2
|
* fold ScopeWithSyntax into SourceAnalyzerAleksey Kladov2019-04-131-1/+1
|
* renameAleksey Kladov2019-04-111-1/+1
|
* Make call info to use real name resolutionAleksey Kladov2019-04-111-1/+1
|
* introduce SourceAnalyzerAleksey Kladov2019-04-111-0/+1
|
* use either for usesAleksey Kladov2019-04-101-1/+4
|
* migrate to salsas interningAleksey Kladov2019-04-091-1/+1
|
* Merge #1076bors[bot]2019-04-021-0/+1
|\ | | | | | | | | | | | | | | | | 1076: Const body inference r=flodiebold a=Lapz This is the second part of #887. I've added type inference on const bodies and introduced the DefWithBody containing Function, Const and Static. I want to add tests but im unsure on how I would go about testing that completions work. Co-authored-by: Lenard Pratt <[email protected]>
| * Added const bodies and static body to the astLenard Pratt2019-04-021-1/+0
| | | | | | | | | | | | and added inference the inference test reduce code duplication
| * Added defWithBodyLenard Pratt2019-03-301-0/+2
| |
* | always produce source for importAleksey Kladov2019-04-021-1/+1
|/
* renameAleksey Kladov2019-03-261-1/+1
|
* more type safetyAleksey Kladov2019-03-261-1/+1
|
* add typed idsAleksey Kladov2019-03-261-1/+1
|
* move source_id to a separate fileAleksey Kladov2019-03-261-1/+3
|
* make macro parsing a queryAleksey Kladov2019-03-261-1/+1
|
* Basics for trait method resolutionFlorian Diebold2019-03-251-0/+1
|
* switch modules to new diagnosticsAleksey Kladov2019-03-251-1/+1
|
* diagnosticsAleksey Kladov2019-03-251-0/+1
|
* rename persistent hir database -> def databaseAleksey Kladov2019-03-231-1/+1
|
* TypeName => TypeCtorFlorian Diebold2019-03-211-1/+1
|