[mcs] Less cascading errors
[mcs] Fix error reporting for incomplete attribute target. Fixes #24537