Error codes · Markup

PW5011

unkeyed_list

The program must hold to this: a list over a mutable collection needs a stable key.

Reading the diagnostic

pw check prints the code in brackets, [PW5011], 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.