aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src
Commit message (Collapse)AuthorAgeFilesLines
* somewhat better nameAleksey Kladov2019-06-084-22/+29
|
* add a fixmeAleksey Kladov2019-06-082-2/+4
|
* one macro def should be enoughAleksey Kladov2019-06-084-27/+21
|
* make documenation a queryAleksey Kladov2019-06-083-66/+62
|
* make Docs handing more ideomaticAleksey Kladov2019-06-082-6/+5
|
* Move docs to dedicated moduleAleksey Kladov2019-06-082-69/+70
|
* [#1083] Try block syntax: fix testsAndrey Tkachenko2019-06-061-1/+0
|
* [#1083] Try block syntaxAndrey Tkachenko2019-06-062-1/+15
|
* fix: clean up warningscsmoe2019-06-061-2/+2
| | | | Change-Id: I91a468f6e846ac28574825b8ee7aa02fbff68f63
* Fix clippy::iter_cloned_collectAlan Du2019-06-041-4/+2
|
* Fix clippy::option_map_or_noneAlan Du2019-06-041-1/+1
|
* Fix clippy::or_fun_callAlan Du2019-06-044-9/+14
|
* Fix clippy::identity_conversionAlan Du2019-06-047-15/+11
|
* Fix clippy::single_char_patternAlan Du2019-06-041-5/+2
|
* Fix clippy::into_iter_on_refAlan Du2019-06-042-2/+2
|
* Fix clippy::len_zeroAlan Du2019-06-041-2/+2
|
* Fix clippy::ptr_argAlan Du2019-06-041-1/+1
|
* Fix clippy::single_matchAlan Du2019-06-045-56/+38
|
* don't cache parses twiceAleksey Kladov2019-06-023-26/+32
| | | | | | | | | 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-0215-95/+177
|
* collect impl source mapsAleksey Kladov2019-06-012-11/+1
|
* don't cache ast_id_to_nodeAleksey Kladov2019-06-011-0/+1
|
* Merge #1360bors[bot]2019-06-014-8/+31
|\ | | | | | | | | | | | | | | | | | | 1360: Improve goto definition for MBE r=matklad a=edwin0cheng This PR improve the macro resolution for goto definition and expression macro invocation by using proper path resolution for external macros. Co-authored-by: Edwin Cheng <[email protected]>
| * Improve goto definition for MBEEdwin Cheng2019-06-014-8/+31
| |
* | don't poison mutex around chalkAleksey Kladov2019-06-012-3/+5
|/ | | | | | | | | We use panics for cancellation, so we could trigger panic while holding the solver. std::sync::Mutex will be poisoned as a result, which and all further attempts to use solver (from other threads) will panic as well. This commit switches to parking_lot::Mutex which just unlocks on panic.
* add tests for primitive typesAleksey Kladov2019-05-305-30/+44
|
* add built-in types to scopesAleksey Kladov2019-05-305-24/+47
|
* add list of builtin typesAleksey Kladov2019-05-302-3/+29
|
* add ModuleDef::BuiltInTypeAleksey Kladov2019-05-305-10/+61
|
* add cacellation checks to expensive queriesAleksey Kladov2019-05-293-0/+3
|
* fix syntax errors in testsAleksey Kladov2019-05-286-118/+134
|
* check cancellation when expanding macrosAleksey Kladov2019-05-271-0/+1
|
* FormattingEdwin Cheng2019-05-271-1/+0
|
* Add Test for new item resolutionEdwin Cheng2019-05-262-2/+55
|
* Use ItemOrMacro in item resolutionEdwin Cheng2019-05-264-94/+214
|
* Put back unexpaned_macros after resolveEdwin Cheng2019-05-261-0/+3
|
* rename code_model_api -> code_modelAleksey Kladov2019-05-234-4/+4
|
* kill code_model_implAleksey Kladov2019-05-235-89/+64
|
* remove more referencesAleksey Kladov2019-05-231-56/+56
|
* remove referencesAleksey Kladov2019-05-233-157/+105
|
* kill krate_implAleksey Kladov2019-05-233-26/+12
|
* fix signatureAleksey Kladov2019-05-231-4/+4
|
* add union to code_modelAleksey Kladov2019-05-239-26/+91
|
* add profile calls to parsing/expansion routinesAleksey Kladov2019-05-221-0/+2
|
* Fix crash with int vars in canonicalizationFlorian Diebold2019-05-211-1/+6
|
* Use fuel branch for ChalkFlorian Diebold2019-05-211-1/+1
| | | | This makes sure we don't take too long in trait solving.
* re-enable chalkAleksey Kladov2019-05-211-17/+16
|
* publish gen_lsp_server 0.2Aleksey Kladov2019-05-211-16/+17
|
* profile type inferenceAleksey Kladov2019-05-213-3/+5
|
* profile implements queryAleksey Kladov2019-05-211-0/+2
|