W004

generated from midad spec --json at build time; not edited by hand

W004 warning

module {} does not match the file name {stem}

What to do

name the module {want} so a reader can find a file by its module name

From the binary

$ midad explain W004
W004 (warning)
  module `{}` does not match the file name `{stem}`
  fix: name the module `{want}` so a reader can find a file by its module name

A message template can carry {} where the checker fills in the values it saw: the type it expected, the target it refused, the name it could not find.

On this page