about summary refs log tree commit diff
path: root/tests/ui/resolve/enum-expected-value-suggest-variants.rs
AgeCommit message (Collapse)AuthorLines
2025-02-18Suggest using :: instead of . for enums in some cases.Zachary S-0/+58
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