E0315

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

E0315 error

this file is imported, so its exec block will not run

What to do

an import adds declarations only: move the exec block to the program that runs, or make this file the entry point

From the binary

$ midad explain E0315
E0315 (error)
  this file is imported, so its `exec` block will not run
  fix: an import adds declarations only: move the `exec` block to the program that runs, or make this file the entry point

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