It was where there's that teardrop-shaped dark grey enemy, that oneshots you regardless of whether you have a powerup or not, walks back and forth beneath a platforming section in world 1 (I think it was 1-3). I think I hit the platform from the section above while trying to hit the enemy at least once.