The train leaves in 10 minutes.

Literal

Train [subject-が] 10-minutes [in-で] leaves.

10分で ('in 10 minutes') uses で to mark a timeframe — 'within X' rather than 'at X.' Here が marks the subject (rather than topic は) — a slightly more 'announcement' feel, as if reporting the fact fresh to the listener.