Diagnostic

E3104

A function gives a value to a mut or state declared outside it.

Kind
ERROR
Raised
While the script is read and checked
Group
Language rules

Message

The part in color is filled in with the details of the problem.

The function "{fn}" gives a value to "{name}", which is declared outside it: pass a record, or return the value

Details the message can carry

fn, name

The code is stable; the wording may change. Back to the index.