Error codes · Markup

PW5044

slot_misplaced

The program must hold to this: a <slot /> is its layout's: once, at the top of the layout's own view, outside any block, loop, match or stream, with nothing in it.

The decisions behind it

0303

Reading the diagnostic

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