about summary refs log tree commit diff
path: root/tests/ui/conditional-compilation/cfg-attr-syntax-validation.rs
AgeCommit message (Collapse)AuthorLines
2025-08-11Add more docs to templates for attrs with incorrect argumentsEsteban Küber-0/+5
2025-07-15Changes to diagnosticsJonathan Brouwer-7/+18
2025-04-02Remove `NtExpr` and `NtLiteral`.Nicholas Nethercote-1/+1
Notes about tests: - tests/ui/rfcs/rfc-2294-if-let-guard/feature-gate.rs: some messages are now duplicated due to repeated parsing. - tests/ui/rfcs/rfc-2497-if-let-chains/disallowed-positions.rs: ditto. - `tests/ui/proc-macro/macro-rules-derive-cfg.rs`: the diff looks large but the only difference is the insertion of a single invisible-delimited group around a metavar. - `tests/ui/attributes/nonterminal-expansion.rs`: a slight span degradation, somehow related to the recent massive attr parsing rewrite (#135726). I couldn't work out exactly what is going wrong, but I don't think it's worth holding things up for a single slightly suboptimal error message.
2025-03-26expand: Leave traces when expanding `cfg` attributesVadim Petrochenkov-1/+0
2025-02-28Remove `NtMeta`.Nicholas Nethercote-2/+2
Note: there was an existing code path involving `Interpolated` in `MetaItem::from_tokens` that was dead. This commit transfers that to the new form, but puts an `unreachable!` call inside it.
2024-05-10Fix parse error message for meta itemsLeón Orell Valerian Liehr-2/+2
2023-01-11Move /src/test to /testsAlbert Larsan-0/+39