DiagnosticsError codes
M0108 unreachable function
No path from main or a test reaches the function, so it is dead code.
M0107 cross build failure
The module builds for this platform but not for another one it is checked for: a file with a build tag or a platform name is missing a function or uses one that does not exist there.
M0109 switch misses cases
A switch on an enum-like type (a defined integer or string type with package level constants of that type) does not handle every constant, or a type switch on a sealed interface (one with an unexported method, so only its package implements it) does not handle every implementation, and there is no default clause.