Duolith docs

Errors E0600 to E0699

E0608 Public operation with more rules

Message problem

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

Why

allow: public lets anyone call the operation, so another rule beside it would never be asked, and reading it as a narrowing would be a mistake. A limit per caller needs a caller; a public operation is limited per address instead.

How to fix it

Write public alone, or remove it and keep the other rules; limit a public operation with per address.

In a terminal

duolith explain E0608