Duolith docs

Errors while checking a page

E0154 Overlay attribute written twice

Message attribute is written twice on <overlay>

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 of an overlay's attributes decides one thing, such as whether it is open or what it is anchored to, so a second copy would silently win or lose.

How to fix it

Keep one of them.

In a terminal

duolith explain E0154

Mentioned in