| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-01-11 | Move /src/test to /tests | Albert Larsan | -132/+0 | |
| 2022-11-14 | Update src/test/ui/proc-macro/expand-expr.rs | clubby789 | -2/+2 | |
| Co-authored-by: Daniel Henry-Mantilla <daniel.henry.mantilla@gmail.com> | ||||
| 2022-11-14 | Fix using `include_bytes` in pattern position | clubby789 | -1/+7 | |
| 2022-11-11 | Introduce `ExprKind::IncludedBytes` | clubby789 | -1/+6 | |
| 2022-06-02 | Revert #96682. | Nicholas Nethercote | -12/+12 | |
| The change was "Show invisible delimiters (within comments) when pretty printing". It's useful to show these delimiters, but is a breaking change for some proc macros. Fixes #97608. | ||||
| 2022-05-04 | Show invisible delimeters (within comments) when pretty printing. | Nicholas Nethercote | -12/+12 | |
| 2021-11-12 | proc_macro: Add an expand_expr method to TokenStream | Nika Layzell | -0/+121 | |
| This feature is aimed at giving proc macros access to powers similar to those used by builtin macros such as `format_args!` or `concat!`. These macros are able to accept macros in place of string literal parameters, such as the format string, as they perform recursive macro expansion while being expanded. This can be especially useful in many cases thanks to helper macros like `concat!`, `stringify!` and `include_str!` which are often used to construct string literals at compile-time in user code. For now, this method only allows expanding macros which produce literals, although more expresisons will be supported before the method is stabilized. | ||||
