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
..
2021-09-03 16:00:50 +02:00
2021-08-31 13:11:17 +02:00
2021-09-03 16:00:50 +02:00
2021-09-03 14:28:27 +00:00
2021-09-02 17:30:55 +02:00
2021-09-04 15:19:44 +05:00
2021-08-30 19:35:00 +00:00
2021-09-04 00:27:05 -07:00
2021-08-30 08:42:13 +00:00
2021-09-04 13:56:47 +00:00
2021-09-04 00:27:05 -07:00
2021-08-31 19:14:33 +03:00
2021-08-30 15:11:42 +08:00