aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_def/src/body.rs
Commit message (Collapse)AuthorAgeFilesLines
* Rename RecordLit -> RecordExprAleksey Kladov2020-07-301-2/+2
|
* Bump macro recursion limit in releaseAleksey Kladov2020-07-111-2/+8
|
* More tight recursion limit when expanding macros in function bodiesAleksey Kladov2020-07-111-6/+48
| | | | | | | | | | | cc #4944 cc #5317 This doesn't fully close #4944 -- looks like we hit SO in syntax highlighting, when we use `Semantics::expand_macro`. Seems like we need to place expansion limit on the macro itself (store it as a part of MacroCallId?)!
* Goto type definition works for selfAleksey Kladov2020-07-101-0/+5
|
* Don't guess macro expansion crateAleksey Kladov2020-06-111-1/+1
|
* add support of feature flag for runnables #4464Benjamin Coenen2020-05-211-1/+1
| | | | Signed-off-by: Benjamin Coenen <[email protected]>
* refactor: use attrsOwner directly in is_cfg_enabledBenjamin Coenen2020-05-051-7/+4
| | | | Signed-off-by: Benjamin Coenen <[email protected]>
* Introduce LowerCtx for path loweringEdwin Cheng2020-05-011-0/+2
|
* Fix typoveetaha2020-04-251-1/+1
|
* Don't expose impl details of SyntaxPtrAleksey Kladov2020-04-171-2/+2
|
* Remove dead codeAleksey Kladov2020-04-111-4/+4
|
* Make records grammar more orthogonalAleksey Kladov2020-04-111-5/+0
| | | | | | | | | | | | We used name [: expr] grammar before, now it is [name :] expr which makes things simpler
* Avoid cyclic queries in name resolution when processing enumsAleksey Kladov2020-04-111-11/+36
|
* Align namingAleksey Kladov2020-04-111-1/+1
|
* Pull Expander upAleksey Kladov2020-04-111-1/+16
|
* SimplifyAleksey Kladov2020-04-111-0/+5
|
* Forward compatAleksey Kladov2020-04-101-3/+3
|
* Add recursive limit in expression macro expansionEdwin Cheng2020-03-211-1/+8
|
* Simplify Arena to use a generic indexAleksey Kladov2020-03-191-2/+2
|
* Use `dyn Trait` for working with databseAleksey Kladov2020-03-161-11/+11
| | | | | | | It improves compile time in `--release` mode quite a bit, it doesn't really slow things down and, conceptually, it seems closer to what we want the physical architecture to look like (we don't want to monomorphise EVERYTHING in a single leaf crate).
* Support local macro_rulesEdwin Cheng2020-03-141-3/+9
|
* Explicitly remember desugard patsAleksey Kladov2020-03-061-2/+2
|
* Explicitly remember desugard exprsAleksey Kladov2020-03-061-3/+3
|
* Source map returns a resultAleksey Kladov2020-03-061-4/+7
| | | | cc #2236
* Introduce AsMacroCall traitEdwin Cheng2020-02-171-32/+22
|
* Use pre-stored macro fileEdwin Cheng2019-12-231-6/+16
|
* Add macro call support for type_ofEdwin Cheng2019-12-231-10/+6
|
* Share impl Scope between modules and blocksAleksey Kladov2019-12-221-2/+3
|
* Optimize and profileAleksey Kladov2019-12-211-0/+2
|
* Merge #2624bors[bot]2019-12-201-1/+2
|\ | | | | | | | | | | | | | | 2624: Separate module item from module scope r=matklad a=matklad bors r+ Co-authored-by: Aleksey Kladov <[email protected]>
| * Move ModuleScope to a new moduleAleksey Kladov2019-12-201-1/+2
| |
* | Add support macros in impl blocksEdwin Cheng2019-12-201-9/+13
|/
* Fix resolve for field init shorthandAleksey Kladov2019-12-201-0/+5
|
* Add local functions to bodiesAleksey Kladov2019-12-201-16/+27
|
* Allow storing defs in bodiesAleksey Kladov2019-12-191-1/+2
|
* Forbid <T>::foo syntax in mod pathsAleksey Kladov2019-12-181-4/+8
|
* Use different types for path with and without genericsAleksey Kladov2019-12-141-1/+1
|
* Remove MacroFileKindEdwin Cheng2019-12-081-4/+2
|
* Add expansion infrastructure for derive macrosFlorian Diebold2019-12-051-2/+4
|
* Replace `ra_hir_expand::either` with crateice10002019-12-031-5/+4
|
* Add BuiltinShadowModeEdwin Cheng2019-11-301-2/+5
|
* Move source-related traits to a separate moduleAleksey Kladov2019-11-281-1/+2
|
* Rename Source -> InFileAleksey Kladov2019-11-281-7/+7
|
* Rename module_id -> local_idAleksey Kladov2019-11-271-1/+1
|
* Hide MacroCallLocEdwin Cheng2019-11-261-3/+2
|
* DocsAleksey Kladov2019-11-241-1/+2
|
* SimplifyAleksey Kladov2019-11-241-22/+6
|
* CleanupAleksey Kladov2019-11-241-1/+1
|
* Switch to StaticLoc for staticsAleksey Kladov2019-11-241-1/+2
|
* Get rid of DefDatabase2Aleksey Kladov2019-11-231-8/+8
|