Error codes · Types

PW0626

representation_shadowed

The program must hold to this: an opaque type's own module reads its representation as .value, so it declares no member of that name.

The decisions behind it

0214, 0210

Reading the diagnostic

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