If the creature you control is a legal target but the creature you don’t control isn’t as Rabid Gnaw resolves, the creature you control will get +1/+0 until end of turn, but no damage will be dealt. If instead the creature you control is an illegal target but the creature you don’t control is still a legal target, nothing will happen when Rabid Gnaw resolves.

Artwork
Loading artwork…
Rabid Gnaw
Bloomburrow · #147 · EN
Nonfoil—Foil—
Card rules
Target creature you control gets +1/+0 until end of turn. Then it deals damage equal to its power to target creature you don't control.
Unbeknownst to the hosts, the foraged seeds they served at dinner had been touched by a Calamity Beast. The results were ... disturbing.
Uncommon · Illustrated by Mark Behm
Format legality
Alchemy Legal
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Pioneer Legal
Standard Legal
Standard Brawl Legal
Timeless Legal
Tlr Legal
Vintage Legal
Future Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Penny Not Legal
PreDH Not Legal
Premodern Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions