Error codes · Types

PW0611

assign_immutable

The program must hold to this: an assignment's target must be a binding declared let mut.

The decisions behind it

0051

Reading the diagnostic

pw check prints the code in brackets, [PW0611], with the sentence above and the place in your program. Errors and diagnostics explains how to read one, and every code is listed with its rule.