That’s the question the THEORY of Limbo was intended to answer.
Unbaptized babies, or any unbaptized person who is not guilty of grave sin, would go to Limbo.
Unbaptized adults who were guilty of grave personal sin, would go to Hell.
Where is Limbo mentioned?