Make hematite work with latest rust nightly.

Basically only changes the collection changes.
I think this could also be written `Slice(variant) => variants.find_equiv(variant)`.