To provide a more concrete suggestion, how about a class method on CompilerFailure that does this work?

Then this method could be something like

```rb
def fails_without standard
  @cc_failures ||= Set.new
  @cc_failures.merge CompilerFailure.failures_for_standard(standard)
end
```