Bad error message for missing DerefMut #21536
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
gives
which is not too helpful. We shouldn't even try to borrow immutably in this case. Or at least tag the borrow with some metadata saying
DerefMut
wasn't available, so we can print ahelp:
message here.rustc 1.0.0-dev (ed530d7 2015-01-16 22:41:16 +0000)
Not sure this is actually easy to fix, but I think it'd be a good beginner project to spend a little time looking into it.
The text was updated successfully, but these errors were encountered: