rust-analyzer/crates
Aleksey Kladov da8eb29a2f Macro patterns are not confused with expressions.
We treat macro calls as expressions (there's appropriate Into impl),
which causes problem if there's expresison and non-expression macro in
the same node (like in the match arm).

We fix this problem by nesting macor patterns into another node (the
same way we nest path into PathExpr or PathPat). Ideally, we probably
should add a similar nesting for macro expressions, but that needs
some careful thinking about macros in blocks: `{ am_i_expression!() }`.
2020-04-03 16:12:38 +02:00
..
ra_arena Use resize_with 2020-03-31 09:02:12 -04:00
ra_assists Merge #3746 2020-04-03 08:23:44 +00:00
ra_cfg Update versions 2020-02-18 16:12:40 +02:00
ra_db Merge #3727 2020-03-26 17:09:32 +00:00
ra_flycheck Centralize defaults 2020-04-01 18:56:47 +02:00
ra_fmt update itertools version to 0.9.0 2020-03-23 16:22:46 -07:00
ra_hir Cleanup checking for existing impls in impl From assist 2020-04-02 18:42:30 +01:00
ra_hir_def Macro patterns are not confused with expressions. 2020-04-03 16:12:38 +02:00
ra_hir_expand Implement ra_proc_macro client logic 2020-03-31 22:20:18 +08:00
ra_hir_ty Macro patterns are not confused with expressions. 2020-04-03 16:12:38 +02:00
ra_ide Merge #3797 2020-04-01 12:18:34 +00:00
ra_ide_db Reload only the properties that do not affect vfs 2020-03-30 13:39:14 +03:00
ra_mbe Remove deps on tt_mbe 2020-03-27 00:46:40 +08:00
ra_parser Macro patterns are not confused with expressions. 2020-04-03 16:12:38 +02:00
ra_proc_macro Introduce ra_proc_macro_srv 2020-04-03 19:01:44 +08:00
ra_proc_macro_srv Add doc comment on main.rs 2020-04-03 19:16:54 +08:00
ra_prof Fix race in the tests 2020-03-30 11:33:01 +02:00
ra_project_model Migrate to privacy as per review commets 2020-04-02 21:09:03 +03:00
ra_syntax Macro patterns are not confused with expressions. 2020-04-03 16:12:38 +02:00
ra_text_edit Remove some TextUnit->usize escapees 2020-03-12 22:33:27 -04:00
ra_tt Implement ra_proc_macro client logic 2020-03-31 22:20:18 +08:00
rust-analyzer Apply cargo xtask format 2020-04-02 21:12:28 +03:00
stdx Fix typo 2020-03-30 18:51:30 +02:00
test_utils Move verbose tests out of line 2020-03-13 12:20:42 +01:00