rust-lang/rust — pull request #18721 by SimonSapin (2014-11-06 23:13:10+00:00)
Title: Make EnumSet not silently corrupt data.

Assert at run time instead. Fixes #13756.

I’d rather have this be detected at compile-time, but I don’t know how to do that.