A distant planet should have been consumed when its star expanded to become a red giant, perhaps offering insights into planetary migration