Stacks 01OX theorem

Let $X$, $Y$ be schemes, and possibly some arrows, satisfying the following conditions:

• $Y$ locally noetherian
• $f$ immersion
Then
• $f$ quasi-compact