E0341

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

E0341 error

{n} is a function, and a function name is not a value here

What to do

a function name can only be an argument for a fn parameter; to call it, write {n}(...)

From the binary

$ midad explain E0341
E0341 (error)
  `{n}` is a function, and a function name is not a value here
  fix: a function name can only be an argument for a `fn` parameter; to call it, write `{n}(...)`

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