Contents

warning(_:)

Produces the given warning message during compilation.

Declaration

@freestanding(declaration) macro warning(_ message: String)

Overview

Compilation proceeds after emitting the message as a nonfatal warning.

See Also

Generating Compile-Time Diagnostics