mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
1.3 KiB
1.3 KiB
Diagnostic descriptions
Detailed explanations for various compiler diagnostics.
Overview
Swift diagnostics are classified into errors and warnings. Warnings can only be silenced in an
intentional manner, e.g., adding _ = for an unused function result.
Some diagnostics have more detailed explanations available. These include a [#Name] inline and
reference to this documentation at the end of the compiler output on the command line, or is
presented specially within your IDE of choice. See below for the full list of these notes.
Topics
- doc:dynamic-callable-requirements
- doc:trailing-closure-matching
- doc:actor-isolated-call
- doc:sendable-closure-captures
- doc:string-interpolation-conformance
- doc:isolated-conformances
- doc:error-in-future-swift-version
- doc:multiple-inheritance
- doc:nominal-types
- doc:property-wrapper-requirements
- doc:protocol-type-non-conformance
- doc:conformance-isolation
- doc:result-builder-methods
- doc:sendable-metatypes
- doc:sending-closure-risks-data-race
- doc:sending-risks-data-race
- doc:temporary-pointers
- doc:opaque-type-inference
- doc:mutable-global-variable
- doc:existential-member-access-limitations