If you create an exhaustive matching switch statement on a flags enum an error should be reported because that doesn't make sense.