mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-06 09:36:56 +00:00
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