W3005 Safety Warnings

Safety

when statement matches on enum values without #strict and no default; exhaustiveness is not checked

When this occurs

This error is triggered when: when statement matches on enum values without #strict and no default; exhaustiveness is not checked

Example error message

warning[W3005]: when statement matches on enum values without #strict and no default; exhaustiveness is not checked

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.