rust/crates
bors[bot] 7a322f9aff
Merge #3392
3392: Implement concat eager macro  r=matklad a=edwin0cheng

This PR implements the following things:

1. Add basic eager macro infrastructure by introducing `EagerCallId` such that the new `MacroCallId` is defined as :

```
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub enum MacroCallId {
    LazyMacro(LazyMacroId),
    EagerMacro(EagerMacroId),
}
```

2. Add `concat!` builtin macro.




Co-authored-by: Edwin Cheng <edwin0cheng@gmail.com>
2020-03-03 17:30:08 +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 Fix for rebasing 2020-03-04 01:24:33 +08:00
ra_hir_ty Add test 2020-03-04 01:21:14 +08:00
ra_ide Refactor reference search a bit 2020-03-03 18:22:52 +01:00
ra_ide_db Refactor reference search a bit 2020-03-03 18:22:52 +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