rust/crates
Aleksey Kladov dbb702cfc1 internal: remove accidental code re-use
FragmentKind played two roles:

* entry point to the parser
* syntactic category of a macro call

These are different use-cases, and warrant different types. For example,
macro can't expand to visibility, but we have such fragment today.

This PR introduces `ExpandsTo` enum to separate this two use-cases.

I suspect we might further split `FragmentKind` into `$x:specifier` enum
specific to MBE, and a general parser entry point, but that's for
another PR!
2021-09-05 22:36:36 +03:00
..
base_db minor: fix some clippy lints 2021-09-03 16:00:50 +02:00
cfg Simplify int_in_range 2021-08-31 13:11:17 +02:00
flycheck minor: fix some clippy lints 2021-09-03 16:00:50 +02:00
hir Merge #10135 2021-09-03 14:28:27 +00:00
hir_def internal: remove accidental code re-use 2021-09-05 22:36:36 +03:00
hir_expand internal: remove accidental code re-use 2021-09-05 22:36:36 +03:00
hir_ty Don't dump DefMaps to build the panic context 2021-09-05 20:42:22 +02:00
ide Use correct search scopes for macros 2021-09-02 17:30:55 +02:00
ide_assists minor: update test 2021-09-04 15:19:44 +05:00
ide_completion Enable flyimport for ident patterns 2021-09-01 16:13:53 +02:00
ide_db Minor: replace old name CrateDefMap 2021-09-05 19:22:34 +09:00
ide_diagnostics Merge #10089 2021-08-30 19:35:00 +00:00
ide_ssr fix: avoid pathological macro expansions 2021-08-09 16:15:02 +03:00
limit internal: add API to check what are the max limits in practice 2021-07-31 18:26:43 +03:00
mbe internal: remove accidental code re-use 2021-09-05 22:36:36 +03:00
parser internal: remove accidental code re-use 2021-09-05 22:36:36 +03:00
paths internal: improve compilation critical path a bit 2021-08-28 22:43:37 +03:00
proc_macro_api internal: cleanup proc macro server error handlig 2021-08-31 19:01:39 +03:00
proc_macro_srv internal: cleanup proc macro server error handlig 2021-08-31 19:01:39 +03:00
proc_macro_test cargo_metadata 0.14 2021-07-09 11:01:55 -04:00
profile Update dependency minor versions 2021-09-04 00:27:05 -07:00
project_model Merge #10005 2021-08-30 08:42:13 +00:00
rust-analyzer Merge #10147 2021-09-04 13:56:47 +00:00
sourcegen minor: make sure that project_root works correctly 2021-07-13 15:02:29 +03:00
stdx Update dependency minor versions 2021-09-04 00:27:05 -07:00
syntax fix: use placeholder as default type in Generate function. 2021-09-04 14:24:54 +05:00
test_utils Refactor & improve handling of overloaded binary operators 2021-08-22 17:35:50 +02:00
text_edit Handle all rename special cases for all record pattern fields 2021-08-16 22:48:38 +02:00
toolchain minor: drop dummy authors field 2021-07-05 14:19:41 +03:00
tt internal: reduce coupling 2021-08-31 19:14:33 +03:00
vfs internal: document that ascription is preferred to a turbo fish 2021-08-11 14:16:15 +03:00
vfs-notify switch log crate to tracing 2021-08-30 15:11:42 +08:00