Ryo Yoshida
|
ec7148b091
|
mbe: split Op::Leaf and handle multi-character puncts
|
2022-12-27 18:23:01 +09:00 |
|
Ryo Yoshida
|
e027ac0fbf
|
fix: don't let mbe expr fragments match let exprs and inline consts
|
2022-12-20 20:31:47 +09:00 |
|
Jake Heinz
|
427b63b676
|
hir-expand: fix compile_error! expansion not unquoting strings
|
2022-11-20 08:48:27 +00:00 |
|
Ryo Yoshida
|
41b0c54c07
|
Fix tt::Punct 's spacing calculation
|
2022-11-05 19:42:09 +09:00 |
|
Ryo Yoshida
|
6459d7f817
|
Support const generics for builtin derive macro
|
2022-10-23 00:05:22 +09:00 |
|
Lukas Wirth
|
1574fe0d54
|
Use $crate instead of std for panic builtin_fn_macro
This should be closer to the expected output and gets rid of a few
type mismatches in rustc/library
|
2022-10-10 10:33:49 +02:00 |
|
Edwin Cheng
|
c47914c6cf
|
Fixes tests
|
2022-08-10 16:29:23 +08:00 |
|
Ryo Yoshida
|
4d5873e92f
|
minor: align with rustc on escaping characters in macro expansion
|
2022-08-05 22:01:09 +09:00 |
|
Ryo Yoshida
|
859d467276
|
fix: make concat! work with char
|
2022-08-05 02:58:16 +09:00 |
|
Jonas Schievink
|
df66eb74ab
|
Implement ignore and index metavar expression
|
2022-07-11 18:31:42 +02:00 |
|
bors
|
c419aa9775
|
Auto merge of #12719 - davidlattimore:format-args-no-unsafe, r=jonas-schievink
Remove unnecessary unsafe from format_args expansion
|
2022-07-08 14:10:19 +00:00 |
|
Jonas Schievink
|
6c6ae965ba
|
Update remaining GitHub URLs
|
2022-07-08 15:44:49 +02:00 |
|
David Lattimore
|
6f819e30e4
|
Remove unnecessary unsafe from format_args expansion
|
2022-07-08 14:56:18 +10:00 |
|
Tim Neumann
|
40bfb29e50
|
feat: Support $$ in macros.
The implementation mirrors what `rustc` currently does [1]. Part of #11952.
[1]: 0595ea1d12/compiler/rustc_expand/src/mbe/quoted.rs (L230-L241)
|
2022-06-02 21:48:28 +02:00 |
|
Lukas Wirth
|
88e297e47d
|
minor: Simplify
|
2022-05-20 16:52:10 +02:00 |
|
Jonas Schievink
|
0831f3123b
|
Fix tests
|
2022-05-13 15:54:46 +02:00 |
|
Jonas Schievink
|
2287ae22c6
|
Revert "Skip only the tt::Literal when consuming float tokens"
This reverts commit 7db55313a1 .
|
2022-05-13 15:06:16 +02:00 |
|
Jonas Schievink
|
bde036b74e
|
Revert "Fix conversion of float literals in TtTreeSink "
This reverts commit 43a066c5a8 .
|
2022-05-13 15:05:34 +02:00 |
|
Jonas Schievink
|
73e0e17b52
|
Revert "Don't remap float tokens to INT_NUMBER "
This reverts commit cb5e8da88a .
|
2022-05-13 15:04:36 +02:00 |
|
Jonas Schievink
|
cb5e8da88a
|
Don't remap float tokens to INT_NUMBER
|
2022-05-12 19:01:09 +02:00 |
|
Lukas Wirth
|
4b505ce0f9
|
internal: Add token mapping test for float literals
|
2022-05-12 13:17:53 +02:00 |
|
Jonas Schievink
|
43a066c5a8
|
Fix conversion of float literals in TtTreeSink
|
2022-05-06 18:39:06 +02:00 |
|
Jonas Schievink
|
7db55313a1
|
Skip only the tt::Literal when consuming float tokens
|
2022-05-06 16:10:54 +02:00 |
|
Peh
|
1f011fa4a3
|
style: rename crates to kebab case
|
2022-05-01 10:48:58 +00:00 |
|