mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-03 17:35:28 +03:00
bfde43c84b
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