fix: correct typo in invalid reassignment error (#5080)

Corrects a small typo in the error message for when a user attempts to
mutate something which cannot be mutated.
2 files changed