Duolith docs

Errors E0500 to E0599

E0509 Override of a slot a part does not have

Message part has no slot slot

Words in italics are filled in when the compiler reports it, such as the element's name or the list of known ones.

Why

A slot is a named region of a part, such as a button's label or a menu's item, with tokens of its own. The part's specification lists its slots under look.slots.

How to fix it

Use one of the slots the message lists.

In a terminal

duolith explain E0509

Mentioned in