Jonas Schievink
|
9cf8d325a2
|
Precompute macro fragment kind
|
2021-05-09 01:36:06 +02:00 |
|
bors[bot]
|
b6a7276c54
|
Merge #8586
8586: Replace SyntaxRewriter usage with ted in eager::eager_macro_recur r=Veykril a=Veykril
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
|
2021-04-19 18:03:56 +00:00 |
|
Lukas Wirth
|
617cd7231c
|
Remove SyntaxRewriter usage in eager::eager_macro_recur
|
2021-04-19 19:28:41 +02:00 |
|
cynecx
|
cf3b4f1e20
|
hir_ty: Expand macros at type position
|
2021-04-17 16:24:56 +02:00 |
|
Jonas Schievink
|
86b7861612
|
Use named fields in MacroCallKind
|
2021-04-08 20:43:07 +02:00 |
|
Jonas Schievink
|
3abcdc03ba
|
Make ast_to_token_tree infallible
It could never return `None`, so reflect that in the return type
|
2021-04-04 01:46:45 +02:00 |
|
Yilin Chen
|
3bb9efb6b7
|
use the included file as the source of expanded include macro
Signed-off-by: Yilin Chen <sticnarf@gmail.com>
|
2021-03-21 23:02:01 +08:00 |
|
Jonas Schievink
|
c05a1a6e37
|
Store an AstId for procedural macros
|
2021-03-18 16:11:18 +01:00 |
|
Jonas Schievink
|
b84efbaacf
|
Make MacroDefId's AstId mandatory when possible
|
2021-03-18 15:37:14 +01:00 |
|
Brandon
|
a79b5673e8
|
Follow established ErrorEmitted pattern
|
2021-03-16 23:31:14 -07:00 |
|
Edwin Cheng
|
26b9c793f1
|
Fixed nested eager macro bug
|
2021-01-03 17:56:59 +08:00 |
|
Jonas Schievink
|
26f604b907
|
Store invocation site for eager macros
|
2020-12-22 15:02:03 +01:00 |
|
Jonas Schievink
|
bca1e5fcb8
|
Rename error_sink to diagnostic_sink
|
2020-12-03 17:54:43 +01:00 |
|
Jonas Schievink
|
a634243634
|
Propagate eager expansion errors
|
2020-12-03 15:48:29 +01:00 |
|
Jonas Schievink
|
92f52c5c9a
|
builtin_macro: move to mbe::ExpandResult
|
2020-11-30 19:21:25 +01:00 |
|
Jonas Schievink
|
9dc0afe854
|
Rename CustomDerive to ProcMacro
It handles fn-like macros too, and will handle attribute macros in the
future
|
2020-09-18 15:37:31 +02:00 |
|
Aleksey Kladov
|
b7aa4898e0
|
Rename ra_hir_expand -> hir_expand
|
2020-08-13 16:29:33 +02:00 |
|