Duolith docs

Errors E0500 to E0599

E0583 paths() lists an address twice

Message file: paths() lists address twice

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 address of a route is written once. Two entries that give the same address would write the same file twice, and which one won would depend on order.

How to fix it

Return each address once, for example by removing duplicates before returning.

In a terminal

duolith explain E0583

Mentioned in