aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_def/src/body/scope.rs
Commit message (Collapse)AuthorAgeFilesLines
* Correctly infer types in guard expressionsAleksey Kladov2020-04-181-0/+4
| | | | | | | The root cause was that we forgot to add bindings from the arm to the guard expression closes #3980
* Simplify Arena to use a generic indexAleksey Kladov2020-03-191-5/+3
|
* Use `dyn Trait` for working with databseAleksey Kladov2020-03-161-1/+1
| | | | | | | 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).
* Merge #3074bors[bot]2020-02-101-3/+1
|\ | | | | | | | | | | | | | | 3074: Or patterns r=matthewjasper a=matthewjasper Works towards #2458 Co-authored-by: Matthew Jasper <[email protected]>
| * Add or- and parenthesized-patternsMatthew Jasper2020-02-091-3/+1
| |
* | move to to_usize()Veetaha2020-02-091-1/+1
|/
* SimplifyAleksey Kladov2019-12-221-2/+2
|
* Rename Source -> InFileAleksey Kladov2019-11-281-3/+3
|
* hir_def is fully doc'ed!Aleksey Kladov2019-11-241-1/+1
|
* SimplifyAleksey Kladov2019-11-241-2/+2
|
* Get rid of DefDatabase2Aleksey Kladov2019-11-231-3/+3
|
* Fix test mark placementAleksey Kladov2019-11-211-1/+1
|
* Restore a markAleksey Kladov2019-11-211-1/+17
|
* Rename Source::ast -> Source::valueAleksey Kladov2019-11-201-4/+5
|
* Move scope tests to hir_defAleksey Kladov2019-11-151-0/+219
|
* Move body queries to hir_defAleksey Kladov2019-11-141-1/+9
|
* Move scopes to hir_defAleksey Kladov2019-11-141-0/+157