mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-25 03:27:17 +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