about summary refs log tree commit diff
path: root/src/test/ui/macros/missing-comma.rs
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-34/+0
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-04-24Add guard for missing comma in macro call suggestionEsteban Küber-0/+7
2019-03-11Be more discerning on when to attempt suggesting a comma in a macro invocationEsteban Küber-0/+7
2018-12-25Remove licensesMark Rousskov-10/+0
2018-08-07Suggest comma when missing in macro callEsteban Küber-1/+11
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-1/+7
2018-08-06Suggest comma when writing `println!("{}" a);`Esteban Küber-0/+14