E0310

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

E0310 error

import cycle: {}

What to do

a file cannot import itself, directly or through another file

From the binary

$ midad explain E0310
E0310 (error)
  import cycle: {}
  fix: a file cannot import itself, directly or through another file

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