warning(message:location:context:)
Creates a recoverable issue, which doesn’t prevent the generator from continuing.
static func warning(message: String, location: Location? = nil, context: [String : String] = [:]) -> Diagnostic
Parameters
Returns
A warning diagnostic.