aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir
Commit message (Collapse)AuthorAgeFilesLines
* move docs under code modelAleksey Kladov2019-06-114-4/+4
|
* fix compilationAleksey Kladov2019-06-111-1/+1
|
* minor formattingAleksey Kladov2019-06-111-4/+0
|
* remove unneded From(..) implAleksey Kladov2019-06-114-37/+21
|
* move source to a seaparate fileAleksey Kladov2019-06-113-121/+125
|
* remove inherent source implsAleksey Kladov2019-06-119-57/+11
|
* use Source for module, part 2Aleksey Kladov2019-06-112-3/+3
|
* use Source for module, part 1Aleksey Kladov2019-06-114-19/+16
|
* use Source for StructFieldAleksey Kladov2019-06-112-3/+10
|
* use Source for MacroDefAleksey Kladov2019-06-112-6/+11
|
* use Source for impl blockAleksey Kladov2019-06-114-14/+17
|
* use Source for TraitAleksey Kladov2019-06-114-12/+23
|
* use Source for TypeAliasAleksey Kladov2019-06-114-5/+12
|
* use Source for statics and constsAleksey Kladov2019-06-113-20/+30
|
* use Source for FunctionAleksey Kladov2019-06-116-13/+21
|
* Introduce HasSource traitAleksey Kladov2019-06-112-1/+27
|
* use Source moreAleksey Kladov2019-06-115-21/+17
|
* introduce Source structAleksey Kladov2019-06-114-12/+19
|
* use single version of either in hirAleksey Kladov2019-06-106-67/+73
|
* remove some hacks from nameresolution for macrosAleksey Kladov2019-06-087-66/+68
|
* 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-306-24/+48
|
* add list of builtin typesAleksey Kladov2019-05-302-3/+29
|
* add ModuleDef::BuiltInTypeAleksey Kladov2019-05-305-10/+61
|
* :arrow_up: parking_lotAleksey Kladov2019-05-301-1/+1
|