W4001 Warnings

module-name-mismatch

module name does not match directory name

When this occurs

Warning when module declaration name differs from directory name

Example error message

warning[W4001]: module name 'foo' does not match directory name 'bar'

How to fix

Rename the module to match the directory name, or rename the directory. Suppress with `@Suppress(W4001)`.

Related errors