

Except those imports were used by a huge section of code you temporarily commented out, and now you’ll need to manually select a dozen imports to get it working again when you come back to it.
(Sure you could have just commented out the unused imports, but the linter auto-sorted them and you’re feeling too lazy to copy-paste a dozen scattered lines)
Metal Gear Solid had a weird halfway version of this: you would automatically eat a ration and heal when taking a fatal hit, but only if it was equipped in the active item slot. It was always fun to get an unexpected game over because you forgot to swap items back before a boss battle.