If Quicksmith Rebel leaves the battlefield while its ability is on the stack, the artifact never gains the damage-dealing ability.

Artwork
Loading artwork…
Quicksmith Rebel
Aether Revolt · #93 · EN
Nonfoil—Foil—
Card rules
When this creature enters, target artifact you control gains "
: This artifact deals 2 damage to any target" for as long as you control this creature.
3/2
"Let's add just a bit more stopping power."
Rare · Illustrated by Kieran Yanner
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Penny Legal
Pioneer Legal
Timeless Legal
Vintage Legal
Alchemy Not Legal
Future Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Tlr Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
If another player gains control of Quicksmith Rebel, the artifact will no longer have the damage-dealing ability, even if you regain control of Quicksmith Rebel.
If Quicksmith Rebel leaves the battlefield, you no longer control it.
If Quicksmith Rebel or the artifact leaves the battlefield while the damage-dealing ability is on the stack, that ability resolves as normal.