summary refs log tree commit diff
path: root/src/test/ui/parser/increment-notfixed.stderr
AgeCommit message (Collapse)AuthorLines
2022-09-12A SubstitutionPart is not a deletion if it replaces nothing with nothingMichael Goulet-18/+12
2022-06-16diagnostics: fix trailing spaceklensy-7/+7
2022-03-27Fix from rebaseNoah Lev-2/+6
I changed the test functions to be `pub` rather than called from a `main` function too, for easier future modification of tests.
2022-03-23Fix rustfix panic on testNoah Lev-4/+60
`run-rustfix` applies all suggestions regardless of their Applicability. There's a flag, `rustfix-only-machine-applicable`, that does what it says, but then the produced `.fixed` file would have invalid code from the suggestions that weren't applied. So, I moved the cases of postfix increment, in which case multiple suggestions are given, to the `-notfixed` test, which does not run rustfix. I also changed the Applicability to Unspecified since MaybeIncorrect requires that the code be valid, even if it's incorrect.
2022-03-23Use `multipart_suggestions`Noah Lev-4/+0
This records that the suggestions are mutually-exclusive (i.e., only one should be applied).
2022-03-23Improve handling of `tmp` variable name conflictsNoah Lev-2/+18
2022-03-23Emit both subexp and standalone sugg for postfixNoah Lev-0/+5
This solves the TODO.
2022-03-23Emit structured suggestions for field accesses tooNoah Lev-2/+9
2022-03-23Refactor, handle fields better, add field testsNoah Lev-0/+18