aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_ty/src/expr.rs
Commit message (Collapse)AuthorAgeFilesLines
* Make known paths use `core` instead of `std`Jonas Schievink2020-06-111-4/+6
|
* Rename StructField -> FieldAleksey Kladov2020-04-251-7/+7
|
* fix false positive for enum with no variantsJosh Mcguigan2020-04-161-1/+1
|
* Merge #3938bors[bot]2020-04-121-6/+7
|\ | | | | | | | | | | | | | | | | | | 3938: fix missing match arm false positive r=flodiebold a=JoshMcguigan This fixes #3932 by skipping the missing match arm diagnostic in the case any of the match arms don't type check properly against the match expression. I think this is the appropriate behavior for this diagnostic, since `is_useful` relies on all match arms being well formed, and the case of a malformed match arm should probably be handled by a different diagnostic. Co-authored-by: Josh Mcguigan <[email protected]>
| * fix match arm false positiveJosh Mcguigan2020-04-111-6/+7
| |
* | Remove dead codeAleksey Kladov2020-04-111-30/+25
|/
* Forward compatAleksey Kladov2020-04-101-3/+3
|
* add record pat missing field diagnosticJosh Mcguigan2020-04-101-27/+85
|
* feat: add attributes support on struct fields and method #3870Benjamin Coenen2020-04-091-67/+91
|\ | | | | | | Signed-off-by: Benjamin Coenen <[email protected]>
| * Move computation of missing fields into hirAleksey Kladov2020-04-071-67/+91
| |
* | feat: add attributes support on struct fields and method #3870Benjamin Coenen2020-04-081-8/+1
| | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]>
* | Merge branch 'master' of github.com:rust-analyzer/rust-analyzerBenjamin Coenen2020-04-071-2/+87
|\|
| * add fixme to use type checker rather than manually comparing typesJosh Mcguigan2020-04-071-0/+7
| |
| * missing match arms diagnostic change source to match expressionJosh Mcguigan2020-04-071-1/+4
| |
| * handle match auto-derefJosh Mcguigan2020-04-071-1/+10
| |
| * handle non matching enum pattern typesJosh Mcguigan2020-04-071-8/+22
| |
| * remove panicsJosh Mcguigan2020-04-071-2/+5
| |
| * missing match arms diagnosticJosh Mcguigan2020-04-071-2/+51
| |
* | feat: add attributes support on struct fields #3870Benjamin Coenen2020-04-071-3/+9
|/ | | | Signed-off-by: Benjamin Coenen <[email protected]>
* Use `dyn Trait` for working with databseAleksey Kladov2020-03-161-12/+7
| | | | | | | 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).
* Source map returns a resultAleksey Kladov2020-03-061-2/+2
| | | | cc #2236
* Fill missing fields of enum variantsAleksey Kladov2020-02-191-7/+11
|
* More manual clippy fixesKirill Bulatov2020-02-181-1/+1
|
* Use path macroFlorian Diebold2019-12-131-2/+2
|
* Replace `ra_hir_expand::either` with crateice10002019-12-031-2/+2
|
* Move TyAleksey Kladov2019-11-271-0/+151