rust-analyzer/crates
bors[bot] baf832d6d9
Merge #3262
3262: Fix handling of const patterns r=matklad a=flodiebold

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.

Co-authored-by: Florian Diebold <florian.diebold@freiheit.com>
2020-02-22 00:27:09 +00:00
..
ra_arena Switch to variant-granularity field type inference 2019-11-25 00:12:36 +03:00
ra_assists Add remove_mut assist 2020-02-19 12:44:54 +01:00
ra_cargo_watch Update versions 2020-02-18 16:12:40 +02:00
ra_cfg Update versions 2020-02-18 16:12:40 +02:00
ra_db Update versions 2020-02-18 16:12:40 +02:00
ra_fmt Update versions 2020-02-18 16:12:40 +02:00
ra_hir Don't store deriveable Module info in NameDefinition 2020-02-19 14:32:22 +01:00
ra_hir_def Fix handling of const patterns 2020-02-21 17:01:19 +01:00
ra_hir_expand Update versions 2020-02-18 16:12:40 +02:00
ra_hir_ty Fix handling of const patterns 2020-02-21 17:01:19 +01:00
ra_ide remove unneeded collect 2020-02-21 23:51:30 +01:00
ra_ide_db Merge NameDefinition and NameKind 2020-02-19 14:56:22 +01:00
ra_mbe Cleanup 2020-02-19 13:36:59 +09:00
ra_parser More manual clippy fixes 2020-02-18 16:12:37 +02:00
ra_prof Make backtrace optional 2020-02-19 16:28:25 +01:00
ra_project_model Update versions 2020-02-18 16:12:40 +02:00
ra_syntax Fix a crash with non-ascii whitespace in doc-comments 2020-02-19 13:13:29 +09:00
ra_text_edit Update versions 2020-02-18 16:12:40 +02:00
ra_tt Update versions 2020-02-18 16:12:40 +02:00
rust-analyzer Remove unused placeholder 2020-02-21 18:33:45 +08:00
test_utils Update versions 2020-02-18 16:12:40 +02:00