aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_def/src/expr.rs
Commit message (Collapse)AuthorAgeFilesLines
* Rename ra_syntax -> syntaxAleksey Kladov2020-08-121-2/+2
|
* Rename ra_arenaAleksey Kladov2020-08-121-1/+1
|
* Rename Expr::UnsafeBlock to Expr::UnsafePaul Daniel Faria2020-06-271-2/+2
|
* Track unsafe blocks, don't trigger missing unsafe diagnostic when unsafe ↵Paul Daniel Faria2020-06-271-1/+4
| | | | exprs within unsafe block
* fmtrobojumper2020-05-311-1/+1
|
* correctly infer labelled breaksrobojumper2020-05-311-6/+13
|
* Support raw_ref_op's raw reference operatorrobojumper2020-05-281-1/+2
|
* Revert "Merge #4233"Aleksey Kladov2020-05-021-0/+4
| | | | | This reverts commit a5f2b16366f027ad60c58266a66eb7fbdcbda9f9, reversing changes made to c96b2180c1c4206a0a98c280b4d30897eb116336.
* Kill more zombiesAleksey Kladov2020-04-301-4/+0
|
* handle tuple patterns with ellipsisJosh Mcguigan2020-04-131-3/+3
|
* 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