Error codes · Capabilities
PW5200
unresolved_capability_argument
The program must hold to this: a capability's type argument must name a type the program declares.
Reading the diagnostic
pw check prints the code in brackets, [PW5200], 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.