I understand that the caster first completes the casting, then the Mage Slayer feat (PHB, p. 168) triggers and allows the character to attack as a reaction.
If the spell requires concentration, what will happen if the caster fails the concentration check? Specifically, does the spell fail before taking effect, or does it take effect briefly before getting cancelled?