P0087 Io Panics

Io

io.write_file() cannot write to a directory

When this occurs

This error is triggered when: io.write_file() cannot write to a directory

Example error message

error[P0087]: io.write_file() cannot write to a directory

How to fix

Review the error message and check your code at the indicated location. The message describes what went wrong — fix the underlying issue it identifies.

Related errors

No related errors.