Forbid use of feature with inheritance