about summary refs log tree commit diff
path: root/tests/ui/macros/macro-rules-attr-error.stderr
AgeCommit message (Collapse)AuthorLines
2025-10-01mbe: Add tests for `unsafe` attr invocationJosh Triplett-1/+13
2025-08-12Detect and report macro kind mismatches early, and more preciselyJosh Triplett-7/+48
This eliminates the case in `failed_to_match_macro` to check for a function-like invocation of a macro with no function-like rules. Instead, macro kind mismatches now result in an unresolved macro, and we detect this case in `unresolved_macro_suggestions`, which now carefully distinguishes between a kind mismatch and other errors. This also handles cases of forward-referenced attributes and cyclic attributes. Expand test coverage to include all of these cases.
2025-08-08mbe: Add a test for calling a macro with no function-like rulesJosh Triplett-1/+10
2025-08-08mbe: Add test for attribute expansion with `compile_error!`Josh Triplett-0/+13