E0346

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

E0346 error

{n} is both a variable here and the name of a function

What to do

a variable cannot be passed as a function; rename the variable so the name means the function

From the binary

$ midad explain E0346
E0346 (error)
  `{n}` is both a variable here and the name of a function
  fix: a variable cannot be passed as a function; rename the variable so the name means the function

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