rust/crates
bors[bot] 2b69c84396
Merge #1815
1815: Support correct `$crate` expansion in macros r=uHOOCCOOHu a=uHOOCCOOHu

This PR makes normal use cases of `$crate` from macros work as expected.

It makes more macros from `std` work. Type inference works well with `panic`, `unimplemented`, `format`, and maybe more.
Sadly that `vec![1, 2, 3]` still not works, but it is not longer an issue about macro.

Screenshot:
![Screenshot_20190927_022136](https://user-images.githubusercontent.com/14816024/65714465-b4568f80-e0cd-11e9-8043-dd44c2ae8040.png)




Co-authored-by: uHOOCCOOHu <hooccooh1896@gmail.com>
2019-09-27 02:58:26 +00:00
..
ra_arena
ra_assists Merge #1815 2019-09-27 02:58:26 +00:00
ra_batch don't break parser error recovery in presence of macros 2019-09-12 12:38:07 +03:00
ra_cli Remove redundant clone() 2019-09-25 10:32:01 +09:00
ra_db introduce hir debugging infra 2019-09-09 12:32:16 +03:00
ra_fmt fix hir for new block syntax 2019-09-02 21:23:19 +03:00
ra_hir Merge #1815 2019-09-27 02:58:26 +00:00
ra_ide_api Start simplifying editing API 2019-09-26 22:22:08 +03:00
ra_lsp_server Start simplifying editing API 2019-09-26 22:22:08 +03:00
ra_mbe Support $crate in item and expr place. 2019-09-27 02:05:06 +08:00
ra_parser Start simplifying editing API 2019-09-26 22:22:08 +03:00
ra_prof ⬆️ once_cell 2019-09-01 23:18:15 +03:00
ra_project_model introduce hir debugging infra 2019-09-09 12:32:16 +03:00
ra_syntax Merge #1815 2019-09-27 02:58:26 +00:00
ra_text_edit
ra_tools simplify 2019-09-24 09:28:16 +03:00
ra_tt
ra_vfs_glob add option to disable notify 2019-09-06 17:21:29 +03:00
test_utils