E0343

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

E0343 error

fn is only a parameter type, not {what}

What to do

a function name can be passed as an argument to a fn parameter, and nowhere else

From the binary

$ midad explain E0343
E0343 (error)
  `fn` is only a parameter type, not {what}
  fix: a function name can be passed as an argument to a `fn` parameter, and nowhere else

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