ErrorsProject layout and modules · rule
import.unused
Imported name the file does not use.
Area 1, Project layout and modules; not declinable; the next step is usually the agent's.
use shared/types { Percent, Stock }action stock_loaf(each: Stock) -> Stock { return each}
error Percent is imported but not used
--> domains/bakery/actions/stock_loaf.jadpo:1:20
|1 | use shared/types { Percent, Stock } | ^^^^^^^ not used
- reason
- A
useline lists only the names its file uses, so each says where it comes from; nothing here usesPercent. - next
- Remove
Percentfrom this line (agent) - rule
- import.
unused - help
- https://jadpo.
dev/docs/errors/import. unused
Markdown for agents: /docs/errors/import.unused.md.Built from Jadpo main at aee2e8f.