They usually contain thousands of items from different plugins, designers, etc. Sorting through them all is impractical.
Errors are not just about protecting a developer from himself, but more importantly, protecting developers in a team from one another.
If the compiler can't produce an error, the whole feature is pointless.