E0342

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

E0342 error

{n} has a fn parameter itself, so it cannot be passed as one

What to do

wrap it in a plain function that calls it with the function you mean

From the binary

$ midad explain E0342
E0342 (error)
  `{n}` has a `fn` parameter itself, so it cannot be passed as one
  fix: wrap it in a plain function that calls it with the function you mean

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