rust/crates/ra_syntax/src/ast
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
..
edit.rs Start simplifying editing API 2019-09-26 22:22:08 +03:00
expr_extensions.rs fix assists 2019-09-02 21:52:06 +03:00
extensions.rs Refactor Name ready for hygienic macro 2019-09-27 02:04:47 +08:00
generated.rs Support path starting with a type 2019-09-15 19:40:32 +08:00
make.rs Start simplifying editing API 2019-09-26 22:22:08 +03:00
tokens.rs
traits.rs fix hir for new block syntax 2019-09-02 21:23:19 +03:00