about summary refs log tree commit diff
path: root/src/test/ui/macros/missing-comma.stderr
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-104/+0
2022-11-14Show a note where a macro failed to matchNilstrieb-0/+36
This shows a small note on what the macro matcher was currently processing to aid with "no rules expected the token X" errors.
2020-09-02Improve recovery on malformed format callSasha-1/+1
If a comma in a format call is replaced with a similar token, then we emit an error and continue parsing, instead of stopping at this point.
2019-07-19Handle more cases of typos misinterpreted as type ascriptionEsteban Küber-1/+1
2019-04-24Add guard for missing comma in macro call suggestionEsteban Küber-7/+16
2019-03-11Be more discerning on when to attempt suggesting a comma in a macro invocationEsteban Küber-6/+15
2018-12-25Remove licensesMark Rousskov-5/+5
2018-11-23Reword incorrect macro invocation primary labelEsteban Küber-4/+4
2018-10-24Point to macro def span instead of whole bodyEsteban Küber-46/+22
2018-10-23Point at macro definition when no rules expect tokenEsteban Küber-14/+50
2018-08-07Suggest comma when missing in macro callEsteban Küber-3/+25
When missing a comma in a macro call, suggest it, regardless of position. When a macro call doesn't match any of the patterns, check if the call's token stream could be missing a comma between two idents, and if so, create a new token stream containing the comma and try to match against the macro patterns. If successful, emit the suggestion.
2018-08-06Point at correct span when missing comma in `println`Esteban Küber-6/+12
2018-08-06Suggest comma when writing `println!("{}" a);`Esteban Küber-0/+10