Error codes · Placement

PW5002

no_feasible_placement

The program must hold to this: every declaration must have somewhere it can run.

Reading the diagnostic

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