aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/code_model.rs
Commit message (Collapse)AuthorAgeFilesLines
* Add more hir APIs for associated itemsAleksey Kladov2020-02-121-10/+60
|
* FormattingFlorian Diebold2020-02-071-6/+4
|
* Fix compilation of other cratesFlorian Diebold2020-02-071-10/+15
|
* wip lower impl trait to type argsFlorian Diebold2020-02-071-1/+1
|
* Add impl trait lowering modeFlorian Diebold2020-02-071-6/+8
|
* Introduce TyLoweringContextFlorian Diebold2020-02-071-4/+7
|
* Auto import functionsKirill Bulatov2020-02-011-6/+11
|
* Don't parse child modules when doing diagnosticsAleksey Kladov2020-01-151-3/+3
|
* Move Type API to typeAleksey Kladov2020-01-141-4/+70
|
* Move impls_future to Type, where it belongsAleksey Kladov2020-01-141-2/+18
|
* Use attr location for builtin macro goto-impEdwin Cheng2020-01-121-1/+23
|
* Apply review suggestionsFlorian Diebold2020-01-111-1/+3
|
* Qualify some paths in 'add missing impl members'Florian Diebold2020-01-111-0/+13
|
* Add `profile` calls to {Module,Function}::diagnosticsMichal Terepeta2020-01-031-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | With this change the output `ra_prof` gives a better indication where the time is spent. Example output: ``` 213ms - publish_diagnostics 213ms - diagnostics 70ms - Module::from_definition 70ms - Module::from_file 132ms - Module::diagnostics 78ms - Function::diagnostics 0ms - body_with_source_map_query (1 calls) 2ms - trait_solve_query (1 calls) 76ms - ??? 15ms - Function::diagnostics 0ms - body_with_source_map_query (1 calls) 15ms - trait_solve_query (5 calls) 38ms - Function::diagnostics (51 calls) 8ms - parse_query (1 calls) ``` Signed-off-by: Michal Terepeta <[email protected]>
* visible_from -> is_visible_fromFlorian Diebold2019-12-271-2/+2
|
* Remove visibility query, instead add struct field visibility to dataFlorian Diebold2019-12-261-2/+2
| | | | | Methods should be handled the same, and for items the visibility will be in the def map.
* Rename ResolvedVisibility -> VisibilityFlorian Diebold2019-12-261-3/+3
|
* Add visibility in code model for fieldsFlorian Diebold2019-12-261-1/+18
|
* Fill in type params in 'add missing impl members' assistFlorian Diebold2019-12-241-0/+11
|
* SimplifyAleksey Kladov2019-12-221-1/+1
|
* Remove imports from hirAleksey Kladov2019-12-211-11/+4
|
* Revert "Merge #2629"Aleksey Kladov2019-12-211-8/+10
| | | | | This reverts commit cdc9d682b066b110e0a44e5f8f1c574b38c16ba9, reversing changes made to 90ef070db3dce0a7acb9cd11d0b0d72de13c9d79.
* Remove hir for importsAleksey Kladov2019-12-211-10/+8
|
* Move impls to ItemScopeAleksey Kladov2019-12-201-1/+1
|
* Use generic ItemLoc for implsAleksey Kladov2019-12-201-2/+2
|
* Support for nested traitsAleksey Kladov2019-12-201-1/+1
|
* Support for nested ADTAleksey Kladov2019-12-201-6/+6
|
* Drop dead codeAleksey Kladov2019-12-191-59/+3
|
* Rename N! to name!Florian Diebold2019-12-131-2/+2
|
* Add macros for known names and pathsFlorian Diebold2019-12-131-2/+2
|
* Move enum&union to new locAleksey Kladov2019-12-121-5/+5
|
* Move structs to new locAleksey Kladov2019-12-121-2/+2
|
* Move traits to the new locAleksey Kladov2019-12-121-1/+1
|
* Switch to the new location for implsAleksey Kladov2019-12-121-2/+5
|
* Remove one more TyAleksey Kladov2019-12-081-5/+0
|
* Cleanup module structureAleksey Kladov2019-12-081-3/+0
|
* Remove dead codeAleksey Kladov2019-12-081-33/+0
|
* Remove ty from code_modelAleksey Kladov2019-12-081-20/+16
|
* Remove bodies from code_modelAleksey Kladov2019-12-081-9/+0
|
* remove `infer` method from CodeModelAleksey Kladov2019-12-081-14/+2
|
* Drop some unused methodsAleksey Kladov2019-12-081-47/+1
|
* Cleanup Field tyAleksey Kladov2019-12-081-10/+21
|
* Cleanup Crate APIAleksey Kladov2019-12-081-17/+31
|
* Rename GenericParam -> TypeParamAleksey Kladov2019-12-071-8/+8
| | | | We don't have LifetimeParam yet, but they are planned!
* Classify name works for TypeParamsAleksey Kladov2019-12-071-0/+4
|
* ToNav for GenericParamAleksey Kladov2019-12-071-0/+7
|
* Remove idx and parent generics from genericsAleksey Kladov2019-12-071-3/+2
| | | | | This makes `hir_def::GenericParams` flatter. The logic for re-numbering the params is moved to hir instead.
* Add `ModuleSource::Block`ice10002019-12-041-61/+4
|
* Replace `ra_hir_expand::either` with crateice10002019-12-031-2/+5
|
* Rename Source -> InFileAleksey Kladov2019-11-281-3/+3
|