Simple dependent types in const contexts?

I would expect this feature to come as a facet of a more general "pattern types" feature that also includes enum variant types: