E0260

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

E0260 error

{name}(...) changes its first argument in place and answers nothing, so it has no value to use here

What to do

write {name}(...) as a statement of its own instead of x = {name}(...)

From the binary

$ midad explain E0260
E0260 (error)
  `{name}(...)` changes its first argument in place and answers nothing, so it has no value to use here
  fix: write `{name}(...)` as a statement of its own instead of `x = {name}(...)`

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