aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_def/src/expr.rs
Commit message (Collapse)AuthorAgeFilesLines
* add record pat missing field diagnosticJosh Mcguigan2020-04-101-27/+6
|
* Simplify Arena to use a generic indexAleksey Kladov2020-03-191-12/+5
|
* Fix handling of const patternsFlorian Diebold2020-02-211-1/+1
| | | | | | | | | E.g. in `match x { None => ... }`, `None` is a path pattern (resolving to the option variant), not a binding. To determine this, we need to try to resolve the name during lowering. This isn't too hard since we already need to resolve names for macro expansion anyway (though maybe a bit hacky). Fixes #1618.
* Merge #3062bors[bot]2020-02-111-3/+3
|\ | | | | | | | | | | | | | | | | | | 3062: Implement slice pattern AST > HIR lowering r=jplatte a=jplatte WIP. The necessary changes for parsing are implemented, but actual inference is not yet. Just wanted to upload what I've got so far so it doesn't get duplicated :) Will fix #3043 Co-authored-by: Jonas Platte <[email protected]>
| * Implement slice pattern AST > HIR loweringJonas Platte2020-02-111-3/+3
| |
* | Add or- and parenthesized-patternsMatthew Jasper2020-02-091-2/+3
|/
* Handle closure return typesFlorian Diebold2019-12-201-0/+1
| | | | Fixes #2547.
* Reduce variants of Exproxalica2019-11-291-24/+14
|
* Infer range typesoxalica2019-11-281-2/+26
|
* Add helpful pointer to module docsAleksey Kladov2019-11-121-0/+2
|
* Move definition of exprs to hir_defAleksey Kladov2019-11-121-0/+419