Duolith docs

Errors E0500 to E0599

E0508 Override of a token a part does not have

Message part has no token token

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

Why

Each part's specification in spec/kit/<part>.yaml lists, under look, the tokens its style block reads. Only those can be overridden; another name would change nothing.

How to fix it

Use one of the tokens the message lists, or the part's specification in spec/kit.

In a terminal

duolith explain E0508

Mentioned in