aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_ty/src/infer/pat.rs
Commit message (Collapse)AuthorAgeFilesLines
* Fix handling of const patternsFlorian Diebold2020-02-211-1/+3
| | | | | | | | | 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.
* Run cargo +nightly fix --clippy -Z unstable-optionsKirill Bulatov2020-02-181-2/+2
|
* Add or- and parenthesized-patternsMatthew Jasper2020-02-091-0/+12
|
* Change Ty::Param to contain param IDFlorian Diebold2020-02-071-4/+3
|
* Extract unification code to unify moduleFlorian Diebold2019-12-021-2/+2
|
* Move TyAleksey Kladov2019-11-271-0/+186