rust-analyzer/crates
bors[bot] 437329d3f5
Merge #3429
3429: Fix panic on eager expansion r=matklad a=edwin0cheng

When lazy expanding inside an eager macro, its *parent* file of that lazy macro call must be already exists such that a panic is occurred because that parent file is the eager macro we are processing.

This PR fix this bug by store the argument syntax node as another eager macro id for that purpose.

Personally I don't know if it is a good answer for this bug. 




Co-authored-by: Edwin Cheng <edwin0cheng@gmail.com>
2020-03-04 00:05:10 +00:00
..
ra_arena Switch to variant-granularity field type inference 2019-11-25 00:12:36 +03:00
ra_assists Highlight assist tests 2020-03-03 17:03:46 +01:00
ra_cargo_watch lsp-types 0.72 2020-03-02 11:52:46 -05:00
ra_cfg Update versions 2020-02-18 16:12:40 +02:00
ra_db ra_db: removed a couple of explicit lifetimes 2020-02-22 17:00:39 +02:00
ra_fmt When joining lines, unwrap trivial diverging blocks 2020-02-24 17:17:05 +01:00
ra_hir Refactor reference search a bit 2020-03-03 18:22:52 +01:00
ra_hir_def Implement concat macro 2020-03-04 01:21:14 +08:00
ra_hir_expand Fixed a typo in comment 2020-03-04 02:57:54 +08:00
ra_hir_ty Fix panic on eager expansion 2020-03-04 02:41:33 +08:00
ra_ide Fix completion snippet for reexported functions 2020-03-03 20:49:50 +01:00
ra_ide_db Move reference classification to ra_ide_db 2020-03-03 18:50:15 +01:00
ra_mbe Fix a bug for single dollar sign macro 2020-03-04 01:03:44 +08:00
ra_parser Implement concat macro 2020-03-04 01:21:14 +08:00
ra_prof Remove unused dependencies 2020-02-27 14:04:13 +09:00
ra_project_model ra_project_model: migrate to Sysroot::alloc() 2020-03-01 00:16:57 +02:00
ra_syntax Implement concat macro 2020-03-04 01:21:14 +08:00
ra_text_edit Remove unused dependencies 2020-02-27 14:04:13 +09:00
ra_tt Update versions 2020-02-18 16:12:40 +02:00
rust-analyzer Simplify by using to_vec 2020-03-02 14:05:44 -05:00
test_utils Use text_range::extend_to 2020-02-27 10:06:48 +08:00