Doctests that require a non-default feature, is it possible?

Hmmm. I've run into this when trying to provide a tested example for an optional feature; it would be lovely if a specific doctest could be tagged with a feature (set) somehow. I don't think there's any such option currently, but it would make a good feature request.