Commit Graph

2 Commits

Author SHA1 Message Date
Zachary S
2c3725021e Update . -> :: tests for new diff suggestion format. 2025-02-18 13:28:35 -06:00
Zachary S
bfde43c84b Suggest using :: instead of . for enums in some cases.
Suggest replacing `.` with `::` when encountering "expected value, found enum":
- in a method-call expression and the method has the same name as a tuple variant
- in a field-access expression and the field has the same name as a unit or tuple variant
2025-02-18 13:11:37 -06:00