about summary refs log tree commit diff
path: root/tests/ui/macros/macro-stmt-2.rs
AgeCommit message (Collapse)AuthorLines
2025-03-07Remove `NtItem` and `NtStmt`.Nicholas Nethercote-0/+11
This involves replacing `nt_pretty_printing_compatibility_hack` with `stream_pretty_printing_compatibility_hack`. The handling of statements in `transcribe` is slightly different to other nonterminal kinds, due to the lack of `from_ast` implementation for empty statements. Notable test changes: - `tests/ui/proc-macro/expand-to-derive.rs`: the diff looks large but the only difference is the insertion of a single invisible-delimited group around a metavar.