E0234

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

E0234 error

cannot assign to {name}: it is a const

What to do

declare it with let {name} = ... to make it mutable

From the binary

$ midad explain E0234
E0234 (error)
  cannot assign to `{name}`: it is a `const`
  fix: declare it with `let {name} = ...` to make it mutable

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