rust-analyzer/crates/ra_hir/src
bors[bot] fa15c4d75e Merge #1175
1175: Fix bugs and add error log about macro expansion r=matklad a=edwin0cheng

This PR fixed / add following things:

* Add a fused count which stop recursion of macro expansion in name resolution.
* Add some logs when macro expansion fails
* Add `$crate` meta variable support in mbe, which create a `$crate` ident token in token tree.
* Fixed matching a `$REPEAT` pattern inside a subtree, e.g. `(fn $name:ident {$($i:ident)*} ) => {...}`
* Remove composite-able punct token in syntax node to token conversion. 

Co-authored-by: Edwin Cheng <edwin0cheng@gmail.com>
2019-04-21 10:34:07 +00:00
..
code_model_impl use either for uses 2019-04-10 10:12:54 +03:00
expr cleanups 2019-04-13 14:16:46 +03:00
nameres Fix bugs 2019-04-20 23:53:39 +08:00
ty Add a simple test for str method completion 2019-04-20 18:26:53 +02:00
adt.rs rename flavor to kind 2019-04-02 12:53:44 +03:00
code_model_api.rs Extract generic_params method to a HasGenericParams trait 2019-04-14 13:07:45 +02:00
code_model_impl.rs Add const type inference 2019-02-25 10:51:46 +02:00
db.rs lang_item_lookup is now a salsa query. 2019-04-20 00:29:16 +02:00
diagnostics.rs tweak diagnostics API 2019-03-25 10:52:50 +03:00
docs.rs Make doc comments optional 2019-01-26 10:35:23 -05:00
either.rs type-safer source-map for bindings 2019-04-10 10:48:15 +03:00
expr.rs move ScopeEntryWithSyntax 2019-04-13 11:24:09 +03:00
generics.rs Extract generic_params method to a HasGenericParams trait 2019-04-14 13:07:45 +02:00
ids.rs Fix bugs 2019-04-20 23:53:39 +08:00
impl_block.rs Extract generic_params method to a HasGenericParams trait 2019-04-14 13:07:45 +02:00
lang_item.rs lang_item_lookup is now a salsa query. 2019-04-20 00:29:16 +02:00
lib.rs Initial support for lang items. 2019-04-20 00:10:19 +02:00
marks.rs Merge #982 2019-03-17 21:41:37 +00:00
mock.rs migrate to salsas interning 2019-04-09 22:51:22 +03:00
module_tree.rs Replace module_tree with CrateDefMap 2019-03-17 12:49:07 +03:00
name.rs Parse and infer tuple indices 2019-04-06 01:07:35 +02:00
nameres.rs Initial support for lang items. 2019-04-20 00:10:19 +02:00
path.rs fix a panic with glob-import missing a source map 2019-04-02 13:26:09 +03:00
resolve.rs New krate() method in Resolver. 2019-04-20 00:20:26 +02:00
source_binder.rs Refactor method candidate generation a bit 2019-04-14 21:53:35 +02:00
source_id.rs rename 2019-03-26 19:11:01 +03:00
traits.rs More trait infrastructure 2019-04-14 11:28:53 +02:00
ty.rs Make callable signature handling a bit nicer 2019-04-14 11:28:53 +02:00
type_alias.rs rename persistent hir database -> def database 2019-03-23 15:44:24 +03:00
type_ref.rs Remove TypeRef from item opts which implement TypeAscriptionOwner 2019-02-27 14:08:09 +02:00