mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-03 17:35:28 +03:00
30ca1c0a5d
It's incorrect because `CtorSet::split` returns a non-present constructor into `present` in one specific case: variable-length slices of an empty type. That's because empty constructors of arity 0 break the algorithm. This is a tricky corner case that's hard to do cleanly. The assert wasn't adding much anyway.